Increased the size of the key queue to avoid problems with long key macros

This commit is contained in:
Klaus Schmidinger 2006-10-14 11:47:32 +02:00
parent f2c619568f
commit 24da36dd8d
2 changed files with 3 additions and 2 deletions

View File

@ -4968,3 +4968,4 @@ Video Disk Recorder Revision History
Petri Hintukainen). Petri Hintukainen).
- Fixed handling plugins from cRemote::PutMacro() and cRemote::CallPlugin() - Fixed handling plugins from cRemote::PutMacro() and cRemote::CallPlugin()
(based on a patch from Petri Hintukainen). (based on a patch from Petri Hintukainen).
- Increased the size of the key queue to avoid problems with long key macros.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: remote.h 1.36 2006/10/14 10:56:50 kls Exp $ * $Id: remote.h 1.37 2006/10/14 11:46:58 kls Exp $
*/ */
#ifndef __REMOTE_H #ifndef __REMOTE_H
@ -19,7 +19,7 @@
class cRemote : public cListObject { class cRemote : public cListObject {
private: private:
enum { MaxKeys = MAXKEYSINMACRO }; enum { MaxKeys = 2 * MAXKEYSINMACRO };
static eKeys keys[MaxKeys]; static eKeys keys[MaxKeys];
static int in; static int in;
static int out; static int out;