summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-05 11:04:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-05 11:04:17 +0100
commiteab7806f2018eeed66d4cfb2151c069237206cd4 (patch)
tree2b49b429be1858f9e8c9176703800976f7659227
parenta84d559d2cac67dca82be484571dfa125b67e657 (diff)
downloadvdr-eab7806f2018eeed66d4cfb2151c069237206cd4.tar.gz
vdr-eab7806f2018eeed66d4cfb2151c069237206cd4.tar.bz2
Fixed a warning about character comparison in libsi/si.c
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--libsi/si.c4
3 files changed, 5 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 3205bdef..df3700b1 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -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
diff --git a/HISTORY b/HISTORY
index 7db61283..377fd306 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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).
diff --git a/libsi/si.c b/libsi/si.c
index bcf519a8..ac2e26ff 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.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)