From 77d80c430d812392151ec9c506f5e9034760ff0c Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 22 May 2011 16:58:28 +0000 Subject: [PATCH] tuxtxt: remember current screenmode if exiting from transparent mode git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1485 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/68fc79cf9bd2b5424b5e4d7306121916970ffc4b Author: Stefan Seyfried Date: 2011-05-22 (Sun, 22 May 2011) ------------------ This commit was generated by Migit --- lib/libtuxtxt/tuxtxt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libtuxtxt/tuxtxt.cpp b/lib/libtuxtxt/tuxtxt.cpp index c568cebc4..d302d09a2 100644 --- a/lib/libtuxtxt/tuxtxt.cpp +++ b/lib/libtuxtxt/tuxtxt.cpp @@ -1811,6 +1811,8 @@ int tuxtx_main(int _rc, int pid, int page, int source) /* update page or timestring and lcd */ RenderPage(); } while ((RCCode != RC_HOME) && (RCCode != RC_STANDBY)); + /* if transparent mode was selected, remember the original mode */ + screenmode = prevscreenmode; /* exit */ CleanUp();