summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Friedrichs <johann.friedrichs@web.de>2021-05-25 20:37:46 +0200
committerJohann Friedrichs <johann.friedrichs@web.de>2021-05-25 20:37:46 +0200
commitcff8dfe58853aa0cc4f6e9a8896104a920b98730 (patch)
tree3e3e25be143db162452263422afe612d73526825
parentfbdc386baf56f5bf1133f53842644667340145a2 (diff)
downloadvdr-plugin-epgsearch-cff8dfe58853aa0cc4f6e9a8896104a920b98730.tar.gz
vdr-plugin-epgsearch-cff8dfe58853aa0cc4f6e9a8896104a920b98730.tar.bz2
Changed 0 to NULL in epgsearchext.c for c++11
Thanks to M-Reimer
-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;