summaryrefslogtreecommitdiff
path: root/epgsearchext.c
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearchext.c')
-rw-r--r--epgsearchext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epgsearchext.c b/epgsearchext.c
index 65ef9f9..04c3623 100644
--- a/epgsearchext.c
+++ b/epgsearchext.c
@@ -1424,7 +1424,7 @@ bool cSearchExts::Load(const char *FileName)
int line = 0;
char buffer[MAXPARSEBUFFER];
result = true;
- while (fgets(buffer, sizeof(buffer), f) != 0) {
+ while (fgets(buffer, sizeof(buffer), f) != NULL) {
line++;
char *p = strchr(buffer, '#');
if (p == buffer) *p = 0;