diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-06-04 20:54:13 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-06-04 20:54:13 +0000 |
| commit | b6a281eaff5e0118b9841ab0bfdc0f59afbf994f (patch) | |
| tree | 24b4bdd766839344ab47975c01896972014fadbc /Source/Core/Common/Src/IniFile.cpp | |
| parent | 2d6011859a2a650bb815d521316059864d6c0806 (diff) | |
Nits.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5606 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/IniFile.cpp')
| -rw-r--r-- | Source/Core/Common/Src/IniFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/Src/IniFile.cpp b/Source/Core/Common/Src/IniFile.cpp index 84f5a099d1..b9e46feb28 100644 --- a/Source/Core/Common/Src/IniFile.cpp +++ b/Source/Core/Common/Src/IniFile.cpp @@ -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 { |
