mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Replaced StringTable->insert("") with StringTable->EmptyString()
This commit is contained in:
parent
bcc5459818
commit
27e2871b01
33 changed files with 304 additions and 304 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;
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ GuiPaneControl::GuiPaneControl()
|
|||
mMouseOver = false;
|
||||
mDepressed = false;
|
||||
mCaption = "A Pane";
|
||||
mCaptionID = StringTable->insert("");
|
||||
mCaptionID = StringTable->EmptyString();
|
||||
mIsContainer = true;
|
||||
|
||||
mOriginalExtents.set(10,10);
|
||||
|
|
|
|||
|
|
@ -1512,7 +1512,7 @@ void GuiWindowCtrl::setCloseCommand(const char *newCmd)
|
|||
if (newCmd)
|
||||
mCloseCommand = StringTable->insert(newCmd);
|
||||
else
|
||||
mCloseCommand = StringTable->insert("");
|
||||
mCloseCommand = StringTable->EmptyString();
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue