diff --git a/src/lib/IniReader.cpp b/src/lib/IniReader.cpp index 871f55a..e6ccf00 100755 --- a/src/lib/IniReader.cpp +++ b/src/lib/IniReader.cpp @@ -57,6 +57,7 @@ bool CIniFile::ReadFile() // Note that the '\r' will be written to INI files from // Unix so that the created INI file can be read under Win32 // without change. + if( !line.length())continue; if ( line[line.length() - 1] == '\r') line = line.substr( 0, line.length() - 1);