1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Now discarding any previous numerical input to switch channels if Up, Down, Channel+, Channel-, Left or Right is pressed

This commit is contained in:
Klaus Schmidinger 2005-08-14 15:03:31 +02:00
parent 0aa18e1c39
commit 9c4401f5d9
3 changed files with 8 additions and 1 deletions

View File

@ -1347,6 +1347,8 @@ Wolfgang Rohdewald <wolfgang@rohdewald.de>
cEvent::FixEpgBugs()
for adding a missing cMutexLock to cRemote::HasKeys()
for removing an unnecessary #include from osd.c
for reporting a problem with with numerical input to switch channels if Up, Down,
Channel+ or Channel- is pressed
Chad Flynt <hoochster@sofnet.com>
for suggestions and experiments regarding the buffer reserve in cTransfer

View File

@ -3689,3 +3689,6 @@ Video Disk Recorder Revision History
- Changed the title of the recording info menu (thanks to Rolf Ahrenberg).
- Fixed handling the frame number display if '7' is pressed before the first editing
mark, or '9' after the last one (thanks to Thomas Günther).
- Now discarding any previous numerical input to switch channels if Up, Down, Channel+,
Channel-, Left or Right is pressed (thanks to Wolfgang Rohdewald for reporting a
problem with this).

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.353 2005/08/14 12:57:48 kls Exp $
* $Id: menu.c 1.354 2005/08/14 15:00:11 kls Exp $
*/
#include "menu.h"
@ -2789,6 +2789,7 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key)
case kRight|k_Repeat:
case kRight:
withInfo = false;
number = 0;
if (group < 0) {
cChannel *channel = Channels.GetByNumber(cDevice::CurrentChannel());
if (channel)
@ -2824,6 +2825,7 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key)
case kChanDn:
withInfo = true;
group = -1;
number = 0;
Refresh();
break;
case kNone: