Fixed a bug when pressing the Blue button in the main menu without having displayed it

This commit is contained in:
Klaus Schmidinger
2002-10-06 14:11:59 +02:00
parent 995493351e
commit 186ee74748
3 changed files with 7 additions and 3 deletions

4
menu.c
View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 1.211 2002/10/06 10:36:20 kls Exp $
* $Id: menu.c 1.212 2002/10/06 14:08:44 kls Exp $
*/
#include "menu.h"
@@ -2273,7 +2273,7 @@ eOSState cMenuMain::ProcessKey(eKeys Key)
}
break;
case kBlue: if (!HasSubMenu())
state = replaying ? osStopReplay : osReplay;
state = replaying ? osStopReplay : cReplayControl::LastReplayed() ? osReplay : osContinue;
break;
default: break;
}