summaryrefslogtreecommitdiff
path: root/keys.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-09-17 11:30:37 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-09-17 11:30:37 +0200
commitbe0151ca5c9b7079a5c9f4b94c812b63b35167d2 (patch)
treee087bd450bead02a74b0543ebc1b1f52a3a3f079 /keys.c
parentcda89e7fb0a858025122dc3492a28c1560aa6bb6 (diff)
downloadvdr-be0151ca5c9b7079a5c9f4b94c812b63b35167d2.tar.gz
vdr-be0151ca5c9b7079a5c9f4b94c812b63b35167d2.tar.bz2
Fixed handling key macros with keys after @plugin
Diffstat (limited to 'keys.c')
-rw-r--r--keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keys.c b/keys.c
index 8d1c607d..57b4f13e 100644
--- a/keys.c
+++ b/keys.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: keys.c 1.8 2005/09/03 11:28:34 kls Exp $
+ * $Id: keys.c 1.9 2005/09/17 11:27:40 kls Exp $
*/
#include "keys.h"
@@ -208,7 +208,7 @@ bool cKeyMacro::Parse(char *s)
esyslog("ERROR: @plugin can't be first in macro");
return false;
}
- macro[n++] = k_Plugin;
+ macro[n] = k_Plugin;
if (n < MAXKEYSINMACRO) {
plugin = strdup(p + 1);
if (!cPluginManager::GetPlugin(plugin)) {