summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-12-07 11:48:10 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-12-07 11:48:10 +0100
commit616ce3880a7e7cf6b23ddb40f21f40bb4a73aa35 (patch)
tree14631fa11b9bf96efa1a970728d68083f2069cc1 /remote.c
parent4fc0e923505db99d1f81e4cdbbba44ff89c4972f (diff)
downloadvdr-616ce3880a7e7cf6b23ddb40f21f40bb4a73aa35.tar.gz
vdr-616ce3880a7e7cf6b23ddb40f21f40bb4a73aa35.tar.bz2
Improved handling of repeated remote keys
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote.c b/remote.c
index 7157a5f5..03d2a9c9 100644
--- a/remote.c
+++ b/remote.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remote.c 1.32 2002/12/01 10:40:04 kls Exp $
+ * $Id: remote.c 1.33 2002/12/07 11:48:10 kls Exp $
*/
#include "remote.h"
@@ -68,7 +68,7 @@ bool cRemote::Put(eKeys Key)
{
if (Key != kNone) {
cMutexLock MutexLock(&mutex);
- if ((Key & k_Release) != 0)
+ if (in != out && (keys[out] & k_Repeat) && (Key & k_Release))
Clear();
int d = out - in;
if (d <= 0)