summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/IniFile.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2009-03-20 12:23:05 +0000
committernakeee <nakeee@gmail.com>2009-03-20 12:23:05 +0000
commit623671df7a95bc73c56378e3b1af9b87ecd388a0 (patch)
treea68bd551eaf0e14b5227e494264744aa6e738b1b /Source/Core/Common/Src/IniFile.cpp
parentf22af37320d71a4f78b3f5a7138bc00be57fc1a8 (diff)
making section names case insenstive
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2688 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/IniFile.cpp')
-rw-r--r--Source/Core/Common/Src/IniFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/IniFile.cpp b/Source/Core/Common/Src/IniFile.cpp
index 7c39cb2200..038fe0b1d7 100644
--- a/Source/Core/Common/Src/IniFile.cpp
+++ b/Source/Core/Common/Src/IniFile.cpp
@@ -66,7 +66,7 @@ Section::Section(const Section& other)
const Section* IniFile::GetSection(const char* sectionName) const
{
for (std::vector<Section>::const_iterator iter = sections.begin(); iter != sections.end(); ++iter)
- if (!strcmp(iter->name.c_str(), sectionName))
+ if (!strcasecmp(iter->name.c_str(), sectionName))
return (&(*iter));
return 0;
}