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 --- HISTORY | 4 ++++ menu.cpp | 5 +++-- 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; } -- cgit v1.2.3