Be consistent about how we read and update the UI state variable

This commit is contained in:
Henrik Rydgard committed 2014-06-22 09:57:01 +02:00
1 parent b5435260b0
commit 6ec74ef99e
10 files changed
+30 -24

No files matched your search

+1 -1
View File
@@ -1063,7 +1063,7 @@ UI::EventReturn MainScreen::OnExit(UI::EventParams &e) {
exit(0);
#endif
globalUIState = UISTATE_EXIT;
UpdateUIState(UISTATE_EXIT);
return UI::EVENT_DONE;
}