closes cfg-files after reading

This commit is contained in:
ardi@ist-einmalig.de 2009-05-25 19:10:13 +00:00
parent 1c0ecfd589
commit 75774a0421

View File

@ -947,6 +947,7 @@ bool cfg_parsefile(char *fname, void (*set_func)(char*, char*))
if (line[0] == '#') continue;
cfg_parseline(line, set_func);
}
fclose(f);
return true;
}
@ -967,6 +968,7 @@ bool cfg_parsetitlefile(char *fname, void (*set_func)(char*, char*, u8))
if (line[0] == '#') continue;
cfg_parsetitleline(line, set_func);
}
fclose(f);
return true;
}