aboutsummaryrefslogtreecommitdiff
path: root/main/enigma.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-03-01 22:44:18 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-03-01 22:44:18 +0000
commit2334840aabb952e3b6ee5cc60c368f7f2884d9dd (patch)
tree8d9b5109c26a3591b34991cf5712250b6ddcbe24 /main/enigma.cpp
parentfbefcdd764d2b41d6f80f1e17e64bd72c79fa31d (diff)
downloadenigma2-2334840aabb952e3b6ee5cc60c368f7f2884d9dd.tar.gz
enigma2-2334840aabb952e3b6ee5cc60c368f7f2884d9dd.zip
quick work around for fixing return codes
Diffstat (limited to 'main/enigma.cpp')
-rw-r--r--main/enigma.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/enigma.cpp b/main/enigma.cpp
index 00b31ae6..3102c20a 100644
--- a/main/enigma.cpp
+++ b/main/enigma.cpp
@@ -260,12 +260,13 @@ eApplication *getApplication()
void runMainloop()
{
- exit_code = eApp->runLoop();
+ eApp->runLoop();
}
void quitMainloop(int exitCode)
{
- eApp->quit(exitCode);
+ exit_code = exitCode;
+ eApp->quit(0);
}
void setLCD(const char *string)