summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-05-29 11:37:06 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-05-29 11:37:06 +0200
commitc9c15a727d7fe1b2bea360ec1126cd1dc2d8e4cd (patch)
treee904a95c2958d5a8012f217fb27f31b6d35e2105 /vdr.c
parent5324809a91fe32950525c2af99b6962a18c265cd (diff)
downloadvdr-c9c15a727d7fe1b2bea360ec1126cd1dc2d8e4cd.tar.gz
vdr-c9c15a727d7fe1b2bea360ec1126cd1dc2d8e4cd.tar.bz2
Fixed a double channel switch when pressing the Channel+/- keys while no menu or channel display is open
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index ea6a0cfb..4b424683 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 4.15 2017/05/29 11:10:46 kls Exp $
+ * $Id: vdr.c 4.16 2017/05/29 11:30:27 kls Exp $
*/
#include <getopt.h>
@@ -1274,8 +1274,10 @@ int main(int argc, char *argv[])
case kChanUp:
case kChanDn|k_Repeat:
case kChanDn:
- if (!Interact)
+ if (!Interact) {
Menu = new cDisplayChannel(NORMALKEY(key));
+ continue;
+ }
else if (cDisplayChannel::IsOpen() || cControl::Control()) {
Interact->ProcessKey(key);
continue;