Moves from using dStrIsEmpty to the new String::isEmpty static function. Keeps things cleaner, consistent, and works with intellisense.

This commit is contained in:
Areloch 2015-06-06 17:40:49 -05:00
parent 8a55feebef
commit 6e8fa7215a
11 changed files with 29 additions and 29 deletions

View file

@ -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);