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

Fixed a warning about character comparison in libsi/si.c

This commit is contained in:
Klaus Schmidinger 2004-01-05 11:04:17 +01:00
parent a84d559d2c
commit eab7806f20
3 changed files with 5 additions and 2 deletions

View File

@ -523,6 +523,7 @@ Lauri Tischler <lauri.tischler@efore.fi>
for reporting a problem in case the original current channel becomes for reporting a problem in case the original current channel becomes
unavailable due to a recording on a different transponder unavailable due to a recording on a different transponder
for reporting a compiler warning about virtual cConfig::Load() functions for reporting a compiler warning about virtual cConfig::Load() functions
for reporting a warning about character comparison in libsi/si.c
Andy Carter <fruit@ukgateway.net> Andy Carter <fruit@ukgateway.net>
for helping to test new DVB-T handling for helping to test new DVB-T handling

View File

@ -2544,3 +2544,5 @@ Video Disk Recorder Revision History
(thanks to Martin Holst for reporting this one). (thanks to Martin Holst for reporting this one).
- Fixed a compiler warning about virtual cConfig::Load() functions (thanks to - Fixed a compiler warning about virtual cConfig::Load() functions (thanks to
Lauri Tischler for reporting this one). Lauri Tischler for reporting this one).
- Fixed a warning about character comparison in libsi/si.c (thanks to Lauri
Tischler for reporting this one).

View File

@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
* $Id: si.c 1.3 2004/01/04 14:26:53 kls Exp $ * $Id: si.c 1.4 2004/01/05 11:04:17 kls Exp $
* * * *
***************************************************************************/ ***************************************************************************/
@ -219,7 +219,7 @@ void String::decodeText(char *buffer) {
break; break;
if ( ((' ' <= *from) && (*from <= '~')) if ( ((' ' <= *from) && (*from <= '~'))
|| (*from == '\n') || (*from == '\n')
|| ((0xA0 <= *from) && (*from <= 0xFF)) || (0xA0 <= *from)
) )
*to++ = *from; *to++ = *from;
else if (*from == 0x8A) else if (*from == 0x8A)