mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Moves from using dStrIsEmpty to the new String::isEmpty static function. Keeps things cleaner, consistent, and works with intellisense.
This commit is contained in:
parent
8a55feebef
commit
6e8fa7215a
11 changed files with 29 additions and 29 deletions
|
|
@ -2820,9 +2820,9 @@ DefineConsoleMethod( GuiControl, setExtent, void, ( const char* extOrX, const ch
|
|||
"@hide" )
|
||||
{
|
||||
Point2I extent;
|
||||
if(!dStrIsEmpty(extOrX) && dStrIsEmpty(y))
|
||||
if(!String::isEmpty(extOrX) && String::isEmpty(y))
|
||||
dSscanf(extOrX, "%d %d", &extent.x, &extent.y);
|
||||
else if(!dStrIsEmpty(extOrX) && !dStrIsEmpty(y))
|
||||
else if(!String::isEmpty(extOrX) && !String::isEmpty(y))
|
||||
{
|
||||
extent.x = dAtoi(extOrX);
|
||||
extent.y = dAtoi(y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue