From bd48a497126ea9b96389e25872c6772f132b66d0 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 22 Jul 2001 14:00:11 +0200 Subject: Fixed handling characters above 0xEF in SVDRP --- HISTORY | 1 + svdrp.c | 4 ++-- 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) { -- cgit v1.2.3