mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-07 22:40:44 +00:00
Replaced StringTable->insert("") with StringTable->EmptyString()
This commit is contained in:
parent
93ab336fb5
commit
ec5efe5411
33 changed files with 1178 additions and 1178 deletions
|
|
@ -50,8 +50,8 @@ GuiFormCtrl::GuiFormCtrl()
|
|||
mCaption = "[none]";
|
||||
mUseSmallCaption = false;
|
||||
|
||||
mContentLibrary = StringTable->insert("");
|
||||
mContent = StringTable->insert("");
|
||||
mContentLibrary = StringTable->EmptyString();
|
||||
mContent = StringTable->EmptyString();
|
||||
|
||||
mCanSaveFieldDictionary = true;
|
||||
mIsContainer = true;
|
||||
|
|
@ -158,7 +158,7 @@ void GuiFormCtrl::addObject(SimObject *newObj )
|
|||
|
||||
GuiControl* parent = getParent();
|
||||
if ( parent )
|
||||
parent->addObject( newObj );
|
||||
parent->addObject( newObj );
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
@ -213,7 +213,7 @@ bool GuiFormCtrl::resize(const Point2I &newPosition, const Point2I &newExtent)
|
|||
static char buf[256];
|
||||
|
||||
mUseSmallCaption = true;
|
||||
mSmallCaption = StringTable->insert("");
|
||||
mSmallCaption = StringTable->EmptyString();
|
||||
|
||||
S32 strlen = dStrlen((const char*)mCaption);
|
||||
for(S32 i=strlen; i>=0; --i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue