summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-10-14 11:47:32 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-10-14 11:47:32 +0200
commit24da36dd8d5fb823fef8a848943f5524850e868e (patch)
tree32b99580e9672632804b29eeec05f1a498328f4d
parentf2c619568fbd6a1c62fd0d0ee9c2a0f1c5702860 (diff)
downloadvdr-24da36dd8d5fb823fef8a848943f5524850e868e.tar.gz
vdr-24da36dd8d5fb823fef8a848943f5524850e868e.tar.bz2
Increased the size of the key queue to avoid problems with long key macros
-rw-r--r--HISTORY1
-rw-r--r--remote.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 4dbd43f3..c0b855d2 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4968,3 +4968,4 @@ Video Disk Recorder Revision History
Petri Hintukainen).
- Fixed handling plugins from cRemote::PutMacro() and cRemote::CallPlugin()
(based on a patch from Petri Hintukainen).
+- Increased the size of the key queue to avoid problems with long key macros.
diff --git a/remote.h b/remote.h
index e5b80b2c..4477666b 100644
--- a/remote.h
+++ b/remote.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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
@@ -19,7 +19,7 @@
class cRemote : public cListObject {
private:
- enum { MaxKeys = MAXKEYSINMACRO };
+ enum { MaxKeys = 2 * MAXKEYSINMACRO };
static eKeys keys[MaxKeys];
static int in;
static int out;