Changed nested to static variable. Otherwise gets reset with each line.
Signed-off-by: D. Mitch Bailey <d.mitch.bailey@gmail.com>
This commit is contained in:
parent
b371af9235
commit
017bdc6e48
|
|
@ -302,7 +302,7 @@ int GetNextLineNoNewline(char *delimiter)
|
|||
{
|
||||
char *newbuf;
|
||||
int testc;
|
||||
int nested = 0;
|
||||
static int nested = 0;
|
||||
int llen;
|
||||
|
||||
if (feof(infile)) return -1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue