Fixed a bug in switching back the replay mode display in time shift mode

This commit is contained in:
Klaus Schmidinger 2002-03-31 10:57:28 +02:00
parent 9bfb79e15e
commit 72962ccdd7
3 changed files with 7 additions and 2 deletions

View File

@ -233,6 +233,7 @@ Mirko G
Achim Lange <Achim_Lange@t-online.de> Achim Lange <Achim_Lange@t-online.de>
for replacing 'killproc' with 'killall' in 'runvdr' to make it work on Debian for replacing 'killproc' with 'killall' in 'runvdr' to make it work on Debian
for reporting a bug in switching back the replay mode display in time shift mode
Bernd Zierath <b.zierath@ebv.com> Bernd Zierath <b.zierath@ebv.com>
for helping to debug scrolling the "Channels" menu in case the cursor ends up on for helping to debug scrolling the "Channels" menu in case the cursor ends up on

View File

@ -1147,3 +1147,5 @@ Video Disk Recorder Revision History
to their appropriate system locations. to their appropriate system locations.
- Automatic hotkey assignment is now suppressed if the first entry in - Automatic hotkey assignment is now suppressed if the first entry in
commands.conf starts with a digit in the range '1'...'9', followed by a blank. commands.conf starts with a digit in the range '1'...'9', followed by a blank.
- Fixed a bug in switching back the replay mode display in time shift mode
(thanks to Achim Lange for reporting this one).

6
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 1.176 2002/03/29 10:49:22 kls Exp $ * $Id: menu.c 1.177 2002/03/31 10:46:24 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -3296,7 +3296,9 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
ShowMode(); ShowMode();
timeoutShow = 0; timeoutShow = 0;
} }
else if (!modeOnly) else if (modeOnly)
ShowMode();
else
shown = ShowProgress(!shown) || shown; shown = ShowProgress(!shown) || shown;
} }
bool DisplayedFrames = displayFrames; bool DisplayedFrames = displayFrames;