1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Use correct string methods.

This commit is contained in:
Darryl Pogue
2011-08-06 13:57:47 -07:00
parent fd0f3a5746
commit 50dc74e88b
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ UInt16 plFactory::FindClassIndex(const char* className)
int i; int i;
for( i = 0; i < theFactory->fCreators.GetCount(); i++ ) for( i = 0; i < theFactory->fCreators.GetCount(); i++ )
{ {
if( theFactory->fCreators[i] && !_stricmp(className, theFactory->fCreators[i]->ClassName()) ) if( theFactory->fCreators[i] && !stricmp(className, theFactory->fCreators[i]->ClassName()) )
{ {
return theFactory->fCreators[i]->ClassIndex(); return theFactory->fCreators[i]->ClassIndex();
} }

View File

@ -514,7 +514,7 @@ plSynchedObject::SDLStateList::const_iterator plSynchedObject::IFindInSDLStateLi
SDLStateList::const_iterator it = list.begin(); SDLStateList::const_iterator it = list.begin();
for(; it != list.end(); it++) for(; it != list.end(); it++)
if (!_stricmp((*it).c_str(), sdlName)) if (!stricmp((*it).c_str(), sdlName))
return it; return it;
return it; // .end(), false return it; // .end(), false