Gotten rid of stricmp MSVC warnings
git-svn-id: http://mc-server.googlecode.com/svn/trunk@406 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
57659f010e
commit
12ce4e3a1a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user