diff options
| author | skidau <skidau@gmail.com> | 2015-03-30 21:07:42 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2015-03-30 21:07:42 +1100 |
| commit | 008200db4dcc658ad5a5acb7de2e0f434ae1eaac (patch) | |
| tree | 6a3db6446166a1728d40ff9ce38974c0896553b6 /Source/Core/Common/IniFile.cpp | |
| parent | d42d5699b54661cbeb8fc2c9eff45dbb50b910d2 (diff) | |
| parent | eacf7410518a18f64dfdbaf82a829c2f499c46cb (diff) | |
Merge pull request #2244 from lioncash/find
DolphinWX/Common: Change some find_first_of usages to find
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
| -rw-r--r-- | Source/Core/Common/IniFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp index f94e62ebfa..584a457477 100644 --- a/Source/Core/Common/IniFile.cpp +++ b/Source/Core/Common/IniFile.cpp @@ -104,7 +104,7 @@ bool IniFile::Section::Get(const std::string& key, std::vector<std::string>* out while (subStart != std::string::npos) { // Find next , - size_t subEnd = temp.find_first_of(",", subStart); + size_t subEnd = temp.find(',', subStart); if (subStart != subEnd) // take from first char until next , out->push_back(StripSpaces(temp.substr(subStart, subEnd - subStart))); |
