mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Convert dStrcmp to String::compare for more cases
This commit is contained in:
parent
c999baf7ed
commit
197a62f6ea
22 changed files with 45 additions and 45 deletions
|
|
@ -162,7 +162,7 @@ namespace VPersistence
|
|||
}
|
||||
|
||||
const char *docVersion = rootElement->Attribute( "Version" );
|
||||
if ( !docVersion || dStrcmp( VSFVersionString, docVersion ) != 0 )
|
||||
if ( !docVersion || String::compare( VSFVersionString, docVersion ) != 0 )
|
||||
{
|
||||
Con::errorf( "VPersistence::readFile() - Invalid file version." );
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -1041,7 +1041,7 @@ DefineEngineMethod( VController, sortGroups, void, (),, "( void ) - Sort Groups
|
|||
}
|
||||
|
||||
// Swap?
|
||||
if ( dStrcmp( groupA->getLabel(), groupB->getLabel() ) > 0 )
|
||||
if ( String::compare( groupA->getLabel(), groupB->getLabel() ) > 0 )
|
||||
{
|
||||
// Get Outer Siblings.
|
||||
ITreeNode *prevNode = groupA->mSiblingPrevNode;
|
||||
|
|
@ -1100,7 +1100,7 @@ DefineEngineMethod( VController, sortTracks, void, (),, "( void ) - Sort Tracks
|
|||
}
|
||||
|
||||
// Swap?
|
||||
if ( dStrcmp( trackA->getLabel(), trackB->getLabel() ) > 0 )
|
||||
if ( String::compare( trackA->getLabel(), trackB->getLabel() ) > 0 )
|
||||
{
|
||||
// Get Outer Siblings.
|
||||
ITreeNode *prevNode = trackA->mSiblingPrevNode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue