mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Missed a couple +1s here and there
This commit is contained in:
parent
396fe5b0ad
commit
e6e97e660c
7 changed files with 17 additions and 18 deletions
|
|
@ -833,7 +833,7 @@ void SimXMLDocument::setObjectAttributes(const char* objectID)
|
|||
continue;
|
||||
|
||||
FrameTemp<char> valCopy( dStrlen( val ) + 1 );
|
||||
dStrcpy( (char *)valCopy, val, dStrlen(val) + 1 );
|
||||
dStrcpy( (char *)valCopy, val, valCopy.size() );
|
||||
|
||||
if (!pObject->writeField(itr->pFieldname, valCopy))
|
||||
continue;
|
||||
|
|
@ -873,7 +873,7 @@ void SimXMLDocument::setObjectAttributes(const char* objectID)
|
|||
// continue;
|
||||
|
||||
// FrameTemp<char> valCopy( dStrlen( val ) + 1 );
|
||||
// dStrcpy( (char *)valCopy, val, dStrlen(val) + 1 );
|
||||
// dStrcpy( (char *)valCopy, val, valCopy.size() );
|
||||
|
||||
// if (!pObject->writeField(itr->pFieldname, valCopy))
|
||||
// continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue