summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-07-22 14:00:11 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-07-22 14:00:11 +0200
commitbd48a497126ea9b96389e25872c6772f132b66d0 (patch)
treecf10bfb7f17e043ec92e66dc30d103010bc551c5
parent693033f3909200d1c1122f46bff545c0a0bb8446 (diff)
downloadvdr-bd48a497126ea9b96389e25872c6772f132b66d0.tar.gz
vdr-bd48a497126ea9b96389e25872c6772f132b66d0.tar.bz2
Fixed handling characters above 0xEF in SVDRP
-rw-r--r--HISTORY1
-rw-r--r--svdrp.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index e6c99fcf..4215806a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -561,3 +561,4 @@ Video Disk Recorder Revision History
- Moved the channel display to the bottom of the screen.
- Displaying the frame counter in the replay progress display only when editing
a mark.
+- Fixed handling characters above 0xEF in SVDRP.
diff --git a/svdrp.c b/svdrp.c
index e62198d9..a626fdad 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 1.19 2001/07/14 09:45:55 kls Exp $
+ * $Id: svdrp.c 1.20 2001/07/22 13:58:48 kls Exp $
*/
#define _GNU_SOURCE
@@ -941,7 +941,7 @@ void cSVDRP::Process(void)
if (numChars > 0)
numChars--;
}
- else if (c <= 0x03 || c == 0x0D || 0xF0 <= c) {
+ else if (c <= 0x03 || c == 0x0D) {
// ignore control characters
}
else if (numChars < sizeof(cmdLine) - 1) {