Skip blank lines in IniFile::GetKeys().

Fixes hrydgard/ppsspp#3783.
This commit is contained in:
Unknown W. Brackets committed 2013-09-15 09:44:06 -07:00
1 parent e508a71213
commit fabb3f66ea
1 file changed
+2 -1
+2 -1
View File
@@ -360,7 +360,8 @@ bool IniFile::GetKeys(const char* sectionName, std::vector<std::string>& keys) c
{
std::string key;
ParseLine(*liter, &key, 0, 0);
keys.push_back(key);
if (!key.empty())
keys.push_back(key);
}
return true;
}