summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)