mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
clean up math varsize complaints
This commit is contained in:
parent
1230d0d280
commit
0ce2da3a23
30 changed files with 61 additions and 56 deletions
|
|
@ -902,7 +902,7 @@ void GuiInspectorTypeCommand::_setCommand( GuiButtonCtrl *ctrl, StringTableEntry
|
|||
|
||||
S32 written = dSprintf( szBuffer, len, "%s(\"", mTextEditorCommand );
|
||||
expandEscape(szBuffer.address() + written, command);
|
||||
written = strlen(szBuffer);
|
||||
written = (S32)strlen(szBuffer);
|
||||
dSprintf( szBuffer.address() + written, len - written, "\", \"%d.apply\", %d.getRoot());", getId(), getId() );
|
||||
|
||||
ctrl->setField( "Command", szBuffer );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue