diff options
author | Thomas Günther <tom@toms-cafe.de> | 2008-03-23 14:32:18 +0100 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2008-03-23 14:32:18 +0100 |
commit | a4083b26e65a87b2d4b72b99a24cf7870daa9b52 (patch) | |
tree | e4ed60df20314eb20ac6fa5c5b9f74f2d83fcbd2 /menu.cpp | |
parent | fd95398f2c13ebb96f975522d72f04146481bc62 (diff) | |
download | vdr-plugin-sudoku-a4083b26e65a87b2d4b72b99a24cf7870daa9b52.tar.gz vdr-plugin-sudoku-a4083b26e65a87b2d4b72b99a24cf7870daa9b52.tar.bz2 |
Fixed crash after exit command
Diffstat (limited to 'menu.cpp')
-rw-r--r-- | menu.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; } |