[vdr] Bug: vdr-1.3.32 & @plugin key macros

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sat Sep 17 13:31:13 CEST 2005


Rolf Ahrenberg wrote:
> On Mon, 12 Sep 2005, Klaus Schmidinger wrote:
> 
>> I thought I had tested this, even with additional keys after
>> the plugin call.
>> Please test with plain vanilla VDR.
> 
> 
> Ok. I did a quick test with vanilla 1.3.32 + femon + epgsearch
> and the problem is still there.

This should fix it:

--- keys.c      2005/09/03 11:28:34     1.8
+++ keys.c      2005/09/17 11:27:40
@@ -208,7 +208,7 @@
                   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)) {


Klaus



More information about the vdr mailing list