summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-14 15:15:47 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-14 15:15:47 +0200
commit8680d9213610cdcdd2eff0c53c436f08a748804c (patch)
tree976f649c0a34accfb6f66952a2b3cd3215a81c03 /menu.c
parent9c4401f5d96efdcbab5c504b894f7735e869079e (diff)
downloadvdr-8680d9213610cdcdd2eff0c53c436f08a748804c.tar.gz
vdr-8680d9213610cdcdd2eff0c53c436f08a748804c.tar.bz2
Pressing Ok while entering a channel number now immediately switches to that channel, without waiting for further input
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 8b9e4c4d..33857073 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.354 2005/08/14 15:00:11 kls Exp $
+ * $Id: menu.c 1.355 2005/08/14 15:14:29 kls Exp $
*/
#include "menu.h"
@@ -2854,6 +2854,8 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key)
Refresh();
break;
}
+ else if (number > 0 && channel)
+ Channels.SwitchTo(number);
return osEnd;
default: if ((Key & (k_Repeat | k_Release)) == 0) {
cRemote::Put(Key);