summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2008-03-23 14:32:18 +0100
committerThomas Günther <tom@toms-cafe.de>2008-03-23 14:32:18 +0100
commita4083b26e65a87b2d4b72b99a24cf7870daa9b52 (patch)
treee4ed60df20314eb20ac6fa5c5b9f74f2d83fcbd2
parentfd95398f2c13ebb96f975522d72f04146481bc62 (diff)
downloadvdr-plugin-sudoku-a4083b26e65a87b2d4b72b99a24cf7870daa9b52.tar.gz
vdr-plugin-sudoku-a4083b26e65a87b2d4b72b99a24cf7870daa9b52.tar.bz2
Fixed crash after exit command
-rw-r--r--HISTORY4
-rw-r--r--menu.cpp5
2 files changed, 7 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index b6ed39a..b35257a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -41,3 +41,7 @@ VDR plug-in 'Sudoku' Revision History
- Updated German language texts.
- Added Italian language texts (thanks to Gringo).
- Margined output of text into the info window.
+
+____-__-__: Version 0.2.1
+
+- Fixed crash after exit command (thanks to Ville Skyttä for reporting this).
diff --git a/menu.cpp b/menu.cpp
index 671ca5b..1954ef7 100644
--- a/menu.cpp
+++ b/menu.cpp
@@ -17,7 +17,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
- * $Id: menu.cpp 118 2008-03-21 18:05:54Z tom $
+ * $Id: menu.cpp 124 2008-03-23 13:32:18Z tom $
*/
#include "menu.h"
@@ -132,7 +132,8 @@ eOSState Menu::ProcessKey(eKeys key)
state = (this->*command)();
if (state == osContinue)
Show();
- state = osContinue;
+ if (state == osUnknown)
+ state = osContinue;
}
return state;
}