git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5606 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-06-04 20:54:13 +00:00
parent 2d6011859a
commit b6a281eaff
2 changed files with 5 additions and 5 deletions

View File

@ -90,12 +90,12 @@ std::string* IniFile::Section::GetLine(const char* key, std::string* valueOut, s
void IniFile::Section::Set(const char* key, const char* newValue)
{
std::string value, comment;
std::string* line = GetLine(key, &value, &comment);
std::string value, commented;
std::string* line = GetLine(key, &value, &commented);
if (line)
{
// Change the value - keep the key and comment
*line = StripSpaces(key) + " = " + newValue + comment;
*line = StripSpaces(key) + " = " + newValue + commented;
}
else
{