From 9c4401f5d96efdcbab5c504b894f7735e869079e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Aug 2005 15:03:31 +0200 Subject: Now discarding any previous numerical input to switch channels if Up, Down, Channel+, Channel-, Left or Right is pressed --- menu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'menu.c') 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: -- cgit v1.2.3