1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Stripping control codes 0x86 and 0x87 from SI strings

This commit is contained in:
Klaus Schmidinger 2008-02-26 16:26:12 +01:00
parent 4c1ab4f82d
commit d5dc5de97a
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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)