Fix INIFile ignoring the last line of files

This commit is contained in:
Pierre Bourdon 2013-09-16 05:28:14 +02:00
parent 449cd3b267
commit 2c350a5e6b

View File

@ -351,8 +351,6 @@ bool IniFile::Load(const char* filename, bool keep_current_data)
}
#endif
if (in.eof()) break;
if (line.size() > 0)
{
if (line[0] == '[')