summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-20 13:19:35 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-20 13:19:35 +0100
commitef385702d0d821f9d7efebef1e87d4e9da9db721 (patch)
treed135d28d587550107c53140a0fc5083f5cdad091 /vdr.c
parent29501203f7b6818258d438d8826ac02c60e08494 (diff)
downloadvdr-ef385702d0d821f9d7efebef1e87d4e9da9db721.tar.gz
vdr-ef385702d0d821f9d7efebef1e87d4e9da9db721.tar.bz2
Fixed a problem with @plugin in keymacros.conf in case the named plugin is not loaded
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index cc4c0a64..c1b7e812 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.240 2006/01/15 16:23:21 kls Exp $
+ * $Id: vdr.c 1.241 2006/01/16 17:05:49 kls Exp $
*/
#include <getopt.h>
@@ -985,7 +985,7 @@ int main(int argc, char *argv[])
}
else {
// Key functions in "normal" viewing mode:
- if (KeyMacros.Get(key)) {
+ if (key != kNone && KeyMacros.Get(key)) {
cRemote::PutMacro(key);
key = kNone;
}