From d5dc5de97a2c7b71bb4414a9e56d70c790b15131 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 26 Feb 2008 16:26:12 +0100 Subject: [PATCH] Stripping control codes 0x86 and 0x87 from SI strings --- HISTORY | 3 ++- libsi/si.c | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index 9d5e0921..b9a58cdf 100644 --- a/HISTORY +++ b/HISTORY @@ -5671,10 +5671,11 @@ Video Disk Recorder Revision History - Added the backslash ('\') to the list of characters that need to be escaped when executing external commands (thanks to Peter Bieringer for reporting this one). -2008-02-25: Version 1.5.17 +2008-02-26: Version 1.5.17 - Updated the Swedish OSD texts (thanks to Tomas Berglund). - Made the 'pic2mpg' script of the 'pictures' plugin work with uppercase filename extensions (thanks to Stefan Wagner for reporting this one). - Updated the Romanian OSD texts (thanks to Lucian Muresan). - Updated the Dutch OSD texts (thanks to Johan Schuring). +- Stripping control codes 0x86 and 0x87 from SI strings. diff --git a/libsi/si.c b/libsi/si.c index c75f19a9..9dc6a995 100644 --- a/libsi/si.c +++ b/libsi/si.c @@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: si.c 1.22 2007/07/21 13:49:48 kls Exp $ + * $Id: si.c 1.23 2008/02/26 16:25:14 kls Exp $ * * ***************************************************************************/ @@ -415,7 +415,6 @@ void String::decodeText(char *buffer, int size) { if ( ((' ' <= *from) && (*from <= '~')) || (*from == '\n') || (0xA0 <= *from) - || (*from == 0x86 || *from == 0x87) ) *to++ = *from; else if (*from == 0x8A)