summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/WorldStorage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/WorldStorage.cpp b/source/WorldStorage.cpp
index 791d640c4..acd681e7f 100644
--- a/source/WorldStorage.cpp
+++ b/source/WorldStorage.cpp
@@ -277,14 +277,14 @@ void cWorldStorage::InitSchemas(void)
m_Schemas.push_back(new cWSSForgetful(m_World));
// Add new schemas here
- if (stricmp(m_StorageSchemaName.c_str(), "default") == 0)
+ if (NoCaseCompare(m_StorageSchemaName, "default") == 0)
{
m_SaveSchema = m_Schemas.front();
return;
}
for (cWSSchemaList::iterator itr = m_Schemas.begin(); itr != m_Schemas.end(); ++itr)
{
- if (stricmp((*itr)->GetName().c_str(), m_StorageSchemaName.c_str()) == 0)
+ if (NoCaseCompare((*itr)->GetName(), m_StorageSchemaName) == 0)
{
m_SaveSchema = *itr;
return;