summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-26 16:26:12 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-26 16:26:12 +0100
commitd5dc5de97a2c7b71bb4414a9e56d70c790b15131 (patch)
tree1c780397a21ed69b60800ac475899259b8bcbe96
parent4c1ab4f82d20fb00e0705e705139ee7c6ef89ad9 (diff)
downloadvdr-d5dc5de97a2c7b71bb4414a9e56d70c790b15131.tar.gz
vdr-d5dc5de97a2c7b71bb4414a9e56d70c790b15131.tar.bz2
Stripping control codes 0x86 and 0x87 from SI strings
-rw-r--r--HISTORY3
-rw-r--r--libsi/si.c3
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)