From a4083b26e65a87b2d4b72b99a24cf7870daa9b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Sun, 23 Mar 2008 14:32:18 +0100 Subject: Fixed crash after exit command --- menu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'menu.cpp') 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; } -- cgit v1.2.3