diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-02-28 01:26:56 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-02-28 01:26:56 +0000 |
| commit | 4bdb4aa0d1c8520488583ba79c9f5ab6e5656eca (patch) | |
| tree | 05cb77888380f7814d96b356c8f538bb736799fa /Source/Core/Common/Src/IniFile.cpp | |
| parent | 2783f24cfeb39731c5e41fe73ec40d36b266b467 (diff) | |
Merge large parts of nakeee's "Soap" branch into trunk, after fixing a few crash bugs in FileUtil.cpp.
Not really anything interesting, just some better comments, some slightly more portable/cleaner code in places.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2459 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/IniFile.cpp')
| -rw-r--r-- | Source/Core/Common/Src/IniFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/IniFile.cpp b/Source/Core/Common/Src/IniFile.cpp index 1d4b112a5d..121736fe1a 100644 --- a/Source/Core/Common/Src/IniFile.cpp +++ b/Source/Core/Common/Src/IniFile.cpp @@ -459,10 +459,10 @@ bool IniFile::Get(const char* sectionName, const char* key, std::vector<std::str return false; } - u32 subEnd; // ignore starting , if any - u32 subStart = temp.find_first_not_of(","); + size_t subStart = temp.find_first_not_of(","); + size_t subEnd; // split by , while (subStart != std::string::npos) { |
