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
unavailable due to a recording on a different transponder
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>
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).
- Fixed a compiler warning about virtual cConfig::Load() functions (thanks to
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 *
* (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;
if ( ((' ' <= *from) && (*from <= '~'))
|| (*from == '\n')
|| ((0xA0 <= *from) && (*from <= 0xFF))
|| (0xA0 <= *from)
)
*to++ = *from;
else if (*from == 0x8A)