mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Rename the memory allocating versions to make prev error less likely
The behavior is different enough that these shouldn't be overloaded with the non-allocating verions. Also makes it more obvious what is going on to the caller.
This commit is contained in:
parent
d669eb6ee7
commit
fcf52fb5e0
9 changed files with 17 additions and 17 deletions
|
|
@ -279,7 +279,7 @@ void GuiTextEditCtrl::setText( const UTF16* txt)
|
|||
{
|
||||
if(txt && txt[0] != 0)
|
||||
{
|
||||
UTF8* txt8 = convertUTF16toUTF8( txt );
|
||||
UTF8* txt8 = createUTF8string( txt );
|
||||
Parent::setText( txt8 );
|
||||
delete[] txt8;
|
||||
mTextBuffer.set( txt );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue