mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 14:49:27 +00:00
Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into Preview4_0
This commit is contained in:
commit
9f51cc7e4c
2 changed files with 6 additions and 4 deletions
|
|
@ -109,7 +109,10 @@ void Tokenizer::setBuffer(const char* buffer, U32 bufferSize)
|
|||
void Tokenizer::setSingleTokens(const char* singleTokens)
|
||||
{
|
||||
if (mSingleTokens)
|
||||
SAFE_DELETE(mSingleTokens);
|
||||
{
|
||||
free(mSingleTokens);
|
||||
mSingleTokens = NULL;
|
||||
}
|
||||
|
||||
if (singleTokens)
|
||||
mSingleTokens = dStrdup(singleTokens);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue