Bug: vdr-1.3.32 & @plugin key macros

Message ID 432BFE81.7070203@cadsoft.de
State New
Headers

Commit Message

Klaus Schmidinger Sept. 17, 2005, 11:31 a.m. UTC
  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:



Klaus
  

Comments

Rolf Ahrenberg Sept. 17, 2005, 3:29 p.m. UTC | #1
nOn Sat, 17 Sep 2005, Klaus Schmidinger wrote:

> This should fix it:

It did, thanks.

BR,
--
rofa
  

Patch

--- 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)) {