Fix last map being duplicated for each blank line in maps file (bug 5005, r=dvander).

Former-commit-id: e0bcbaeac750a494eb700dea78dd7210783d7623
This commit is contained in:
Fysiks 2013-02-13 00:29:54 -08:00
parent a3aa086375
commit 468aaba79e

View File

@ -275,6 +275,7 @@ loadSettings(filename[])
while (!feof(fp)) while (!feof(fp))
{ {
buff[0]='^0'; buff[0]='^0';
szText[0]='^0';
fgets(fp, buff, charsof(buff)); fgets(fp, buff, charsof(buff));