Browse Source

Use correct string methods.

Darryl Pogue 13 years ago
parent
commit
50dc74e88b
  1. 2
      Sources/Plasma/NucleusLib/pnFactory/plFactory.cpp
  2. 2
      Sources/Plasma/NucleusLib/pnNetCommon/plSynchedObject.cpp

2
Sources/Plasma/NucleusLib/pnFactory/plFactory.cpp

@ -188,7 +188,7 @@ UInt16 plFactory::FindClassIndex(const char* className)
int 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();
}

2
Sources/Plasma/NucleusLib/pnNetCommon/plSynchedObject.cpp

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

Loading…
Cancel
Save