summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-02 10:54:00 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-02 10:54:00 +0200
commit03a4a3a6182ca2b34163ba8b3de7728d0aca0b7a (patch)
treec9172a90572f12eef43ad7f3fef86cb14d5fa0d6 /osd.c
parent240529710db31cd5a96ad2fdb7f9fd486ec7939f (diff)
downloadvdr-03a4a3a6182ca2b34163ba8b3de7728d0aca0b7a.tar.gz
vdr-03a4a3a6182ca2b34163ba8b3de7728d0aca0b7a.tar.bz2
Fixed double call to MainMenuAction() of a plugin if invoked via a hotkey
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/osd.c b/osd.c
index d048f5ca..96e038a4 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c 1.40 2003/03/23 15:41:54 kls Exp $
+ * $Id: osd.c 1.41 2003/05/02 10:46:13 kls Exp $
*/
#include "osd.h"
@@ -578,7 +578,8 @@ eOSState cOsdMenu::HotKey(eKeys Key)
if (s && (s = skipspace(s)) != NULL) {
if (*s == Key - k1 + '1') {
current = item->Index();
- return ProcessKey(kOk);
+ cRemote::Put(kOk, true);
+ break;
}
}
}