diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-03 14:06:44 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-03 14:06:44 +0200 |
commit | 48613fdb1498ce55c474baeb4ce84e592c2d72f5 (patch) | |
tree | f14758e75994f47d2ef232a50eec7987ae32b3a0 /menu.c | |
parent | 1c9122ae03f02f184a3fa0f1a09c62fa7a571e7c (diff) | |
download | vdr-48613fdb1498ce55c474baeb4ce84e592c2d72f5.tar.gz vdr-48613fdb1498ce55c474baeb4ce84e592c2d72f5.tar.bz2 |
Implemented toggling between current and previous channel
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 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.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); |