From 2c350a5e6b7eb08b06ec3ee93f605333d7bad696 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Mon, 16 Sep 2013 05:28:14 +0200 Subject: [PATCH] Fix INIFile ignoring the last line of files --- Source/Core/Common/Src/IniFile.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/Common/Src/IniFile.cpp b/Source/Core/Common/Src/IniFile.cpp index 1c45a8095e..f7d97cd607 100644 --- a/Source/Core/Common/Src/IniFile.cpp +++ b/Source/Core/Common/Src/IniFile.cpp @@ -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] == '[')