summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-14 15:03:31 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-14 15:03:31 +0200
commit9c4401f5d96efdcbab5c504b894f7735e869079e (patch)
tree6ba6f053cff73231386aef63c4407ee328e31320 /menu.c
parent0aa18e1c390fc94a800d3769b57e3d5a55c908da (diff)
downloadvdr-9c4401f5d96efdcbab5c504b894f7735e869079e.tar.gz
vdr-9c4401f5d96efdcbab5c504b894f7735e869079e.tar.bz2
Now discarding any previous numerical input to switch channels if Up, Down, Channel+, Channel-, Left or Right is pressed
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index fa541909..8b9e4c4d 100644
--- a/menu.c
+++ b/menu.c
@@ -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: