Fix INIFile ignoring the last line of files
This commit is contained in:
parent
449cd3b267
commit
2c350a5e6b
|
@ -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] == '[')
|
||||
|
|
Loading…
Reference in New Issue