diff options
Diffstat (limited to 'src/tool/mapcache.c')
-rw-r--r-- | src/tool/mapcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool/mapcache.c b/src/tool/mapcache.c index 5db46c123..095245da4 100644 --- a/src/tool/mapcache.c +++ b/src/tool/mapcache.c @@ -296,8 +296,8 @@ int main(int argc, char *argv[]) } // Read and process the map list - while(fgets(line, 1020, list)){ - + while(fgets(line, sizeof(line), list)) + { if(line[0] == '/' && line[1] == '/') continue; |