From 50dc74e88bca19bf11f299f5539201e2facaab24 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sat, 6 Aug 2011 13:57:47 -0700 Subject: [PATCH] Use correct string methods. --- Sources/Plasma/NucleusLib/pnFactory/plFactory.cpp | 2 +- Sources/Plasma/NucleusLib/pnNetCommon/plSynchedObject.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Plasma/NucleusLib/pnFactory/plFactory.cpp b/Sources/Plasma/NucleusLib/pnFactory/plFactory.cpp index 54f1c9f9..87b02458 100644 --- a/Sources/Plasma/NucleusLib/pnFactory/plFactory.cpp +++ b/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(); } diff --git a/Sources/Plasma/NucleusLib/pnNetCommon/plSynchedObject.cpp b/Sources/Plasma/NucleusLib/pnNetCommon/plSynchedObject.cpp index e5f0f76b..de3419d8 100644 --- a/Sources/Plasma/NucleusLib/pnNetCommon/plSynchedObject.cpp +++ b/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