diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-14 15:03:31 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-14 15:03:31 +0200 |
commit | 9c4401f5d96efdcbab5c504b894f7735e869079e (patch) | |
tree | 6ba6f053cff73231386aef63c4407ee328e31320 /menu.c | |
parent | 0aa18e1c390fc94a800d3769b57e3d5a55c908da (diff) | |
download | vdr-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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: |