summaryrefslogtreecommitdiffstats
path: root/source/WorldStorage.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-12 20:43:25 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-12 20:43:25 +0100
commit12ce4e3a1ad4bee27677a4441e627901dbe14209 (patch)
tree111d5b6d9af1009d50b4205c7939271c450a1815 /source/WorldStorage.cpp
parent*nix compilation fix (for rev 402) (diff)
downloadcuberite-12ce4e3a1ad4bee27677a4441e627901dbe14209.tar
cuberite-12ce4e3a1ad4bee27677a4441e627901dbe14209.tar.gz
cuberite-12ce4e3a1ad4bee27677a4441e627901dbe14209.tar.bz2
cuberite-12ce4e3a1ad4bee27677a4441e627901dbe14209.tar.lz
cuberite-12ce4e3a1ad4bee27677a4441e627901dbe14209.tar.xz
cuberite-12ce4e3a1ad4bee27677a4441e627901dbe14209.tar.zst
cuberite-12ce4e3a1ad4bee27677a4441e627901dbe14209.zip
Diffstat (limited to 'source/WorldStorage.cpp')
-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;