blob: 5c8e802dc18a1552ea238eb80f763b1359296630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: lgrind/source/lgutil.c
===================================================================
--- lgrind.orig/source/lgutil.c
+++ lgrind/source/lgutil.c
@@ -113,7 +113,7 @@ void Internal_Help_Language_List()
check=0;
if (*config=='\n' || config[strlen(config)-2]!='\\')
check=1;
- if (fgets(config, BUFFERSIZE, tf)==NULL) break;
+ if (fgets(config, BUFFERSIZE/4, tf)==NULL) break;
if (check!=0) AddToLList(config, &currlch, &llch);
} while (strcmp((*currlch).name, "EndOfLanguageDefinitions")!=0);
rch=lch;
|