mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Implemented toggling between current and previous channel
This commit is contained in:
4
menu.c
4
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);
|
||||
|
Reference in New Issue
Block a user