diff options
| author | Pierre Bourdon <delroth@lse.epita.fr> | 2013-09-16 05:28:14 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@lse.epita.fr> | 2013-09-16 05:28:14 +0200 |
| commit | 2c350a5e6b7eb08b06ec3ee93f605333d7bad696 (patch) | |
| tree | 13c6727fd11d0252a6fdc438d9985fe9a5b951cd /Source/Core/Common/Src/IniFile.cpp | |
| parent | 449cd3b267475718251bef9b94e80cce1354ce4e (diff) | |
Fix INIFile ignoring the last line of files
Diffstat (limited to 'Source/Core/Common/Src/IniFile.cpp')
| -rw-r--r-- | Source/Core/Common/Src/IniFile.cpp | 2 |
1 files changed, 0 insertions, 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] == '[') |
