diff options
author | Johann Friedrichs <johann.friedrichs@web.de> | 2021-05-25 20:37:46 +0200 |
---|---|---|
committer | Johann Friedrichs <johann.friedrichs@web.de> | 2021-05-25 20:37:46 +0200 |
commit | cff8dfe58853aa0cc4f6e9a8896104a920b98730 (patch) | |
tree | 3e3e25be143db162452263422afe612d73526825 /epgsearchext.c | |
parent | fbdc386baf56f5bf1133f53842644667340145a2 (diff) | |
download | vdr-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
Diffstat (limited to 'epgsearchext.c')
-rw-r--r-- | epgsearchext.c | 2 |
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; |