Fixed a bug in the replay mode display when pressing the Green or Yellow button while in trick mode

This commit is contained in:
Klaus Schmidinger 2001-10-20 09:06:09 +02:00
parent 70eafd259a
commit 312764a7ab
2 changed files with 6 additions and 4 deletions

View File

@ -787,7 +787,7 @@ Video Disk Recorder Revision History
- Made the volume, mute and power keys work when a menu is active, too (thanks
to Matthias Weingart).
2001-10-19: Version 0.97
2001-10-20: Version 0.97
- Implemented a lock file to prevent more than one instance of VDR from removing
files from the video directory at the same time.
@ -819,3 +819,5 @@ Video Disk Recorder Revision History
- Fixed timers starting and ending at unexpected times. 'localtime()' was not
thread safe, now using localtime_r().
- Removed the "system time seen..." message.
- Fixed a bug in the replay mode display when pressing the Green or Yellow
button while in trick mode (thanks to Stefan Huelswitt)

6
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.128 2001/09/30 11:29:13 kls Exp $
* $Id: menu.c 1.129 2001/10/20 09:04:28 kls Exp $
*/
#include "menu.h"
@ -2711,9 +2711,9 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
case kRight: dvbApi->Forward(); break;
case kRed: TimeSearch(); break;
case kGreen|k_Repeat:
case kGreen: dvbApi->SkipSeconds(-60); DoShowMode = false; break;
case kGreen: dvbApi->SkipSeconds(-60); break;
case kYellow|k_Repeat:
case kYellow: dvbApi->SkipSeconds( 60); DoShowMode = false; break;
case kYellow: dvbApi->SkipSeconds( 60); break;
case kBlue: Hide();
dvbApi->StopReplay();
return osEnd;