mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-16 09:55:24 +00:00
Moves from using dStrCmp to the new String::compare static functions. Keeps things cleaner, consistent, and works with intellisense.
This commit is contained in:
parent
76c5e30869
commit
c999baf7ed
68 changed files with 168 additions and 144 deletions
|
|
@ -48,7 +48,7 @@ LangElement * LangElement::find( const char *name )
|
|||
{
|
||||
for( U32 i=0; i<elementList.size(); i++ )
|
||||
{
|
||||
if( !dStrcmp( (char*)elementList[i]->name, name ) )
|
||||
if( !String::compare( (char*)elementList[i]->name, name ) )
|
||||
{
|
||||
return elementList[i];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue