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:
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user