summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-10-03 14:06:44 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-10-03 14:06:44 +0200
commit48613fdb1498ce55c474baeb4ce84e592c2d72f5 (patch)
treef14758e75994f47d2ef232a50eec7987ae32b3a0 /menu.c
parent1c9122ae03f02f184a3fa0f1a09c62fa7a571e7c (diff)
downloadvdr-48613fdb1498ce55c474baeb4ce84e592c2d72f5.tar.gz
vdr-48613fdb1498ce55c474baeb4ce84e592c2d72f5.tar.bz2
Implemented toggling between current and previous channel
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 00b94b5a..1f5fd888 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.29 2000/10/03 12:38:03 kls Exp $
+ * $Id: menu.c 1.30 2000/10/03 14:06:44 kls Exp $
*/
#include "menu.h"
@@ -1186,7 +1186,7 @@ cDirectChannelSelect::~cDirectChannelSelect()
eOSState cDirectChannelSelect::ProcessKey(eKeys Key)
{
switch (Key) {
- case k0: case k1: case k2: case k3: case k4: case k5: case k6: case k7: case k8: case k9:
+ case k0 ... k9:
if (number >= 0) {
number = number * 10 + Key - k0;
cChannel *channel = Channels.GetByNumber(number);