Fix ridiculous bug that would ignore (and thus delete when resaved) the last line of ini files if it didn't end with a line break.

This commit is contained in:
Henrik Rydgard committed 2013-08-25 21:48:43 +02:00
1 parent 0da853e54c
commit cd162639ed
1 file changed
-2
-2
View File
@@ -454,8 +454,6 @@ bool IniFile::Load(std::istream &in) {
}
#endif
if (in.eof()) break;
if (line.size() > 0)
{
if (line[0] == '[')