summaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-09-03 09:09:23 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-09-03 09:09:23 +0200
commit2a91de02abee737333cf650b32d13e5689443b76 (patch)
tree6823ef6668298cb01660edc95eba866f459c9db9 /interface.c
parent70bc836e3ff32ef8e22d6dffb2d7b2ac71ed746a (diff)
downloadvdr-2a91de02abee737333cf650b32d13e5689443b76.tar.gz
vdr-2a91de02abee737333cf650b32d13e5689443b76.tar.bz2
Repeat keys are now ignored when waiting for a keypress to cancel an operation
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface.c b/interface.c
index 33737433..4f18ddda 100644
--- a/interface.c
+++ b/interface.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: interface.c 1.68 2004/11/01 14:23:28 kls Exp $
+ * $Id: interface.c 1.69 2005/09/03 09:07:23 kls Exp $
*/
#include "interface.h"
@@ -56,7 +56,7 @@ eKeys cInterface::Wait(int Seconds, bool KeepChar)
time_t timeout = time(NULL) + Seconds;
for (;;) {
Key = GetKey();
- if ((Key != kNone && (RAWKEY(Key) != kOk || RAWKEY(Key) == Key)) || time(NULL) > timeout || interrupted)
+ if (ISRAWKEY(Key) || time(NULL) > timeout || interrupted)
break;
}
if (KeepChar && ISRAWKEY(Key))