mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -101,8 +101,8 @@ S32 Platform::messageBox(const UTF8 *title, const UTF8 *message, MBButtons butto
|
|||
pWindow->setCursorVisible(true);
|
||||
|
||||
#ifdef UNICODE
|
||||
const UTF16 *msg = convertUTF8toUTF16(message);
|
||||
const UTF16 *t = convertUTF8toUTF16(title);
|
||||
const UTF16 *msg = createUTF16string(message);
|
||||
const UTF16 *t = createUTF16string(title);
|
||||
#else
|
||||
const UTF8 *msg = message;
|
||||
const UTF8 *t = title;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue