Fixed handling characters above 0xEF in SVDRP

This commit is contained in:
Klaus Schmidinger 2001-07-22 14:00:11 +02:00
parent 693033f390
commit bd48a49712
2 changed files with 3 additions and 2 deletions

View File

@ -561,3 +561,4 @@ Video Disk Recorder Revision History
- Moved the channel display to the bottom of the screen. - Moved the channel display to the bottom of the screen.
- Displaying the frame counter in the replay progress display only when editing - Displaying the frame counter in the replay progress display only when editing
a mark. a mark.
- Fixed handling characters above 0xEF in SVDRP.

View File

@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured * and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection. * 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 #define _GNU_SOURCE
@ -941,7 +941,7 @@ void cSVDRP::Process(void)
if (numChars > 0) if (numChars > 0)
numChars--; numChars--;
} }
else if (c <= 0x03 || c == 0x0D || 0xF0 <= c) { else if (c <= 0x03 || c == 0x0D) {
// ignore control characters // ignore control characters
} }
else if (numChars < sizeof(cmdLine) - 1) { else if (numChars < sizeof(cmdLine) - 1) {