code cleanup

This commit is contained in:
Blu3train 2024-03-16 00:48:49 +01:00
parent 73274f5672
commit 12e1fa227e

View File

@ -574,8 +574,6 @@ namespace Engine
auto text = reinterpret_cast<LPWSTR>(data);
auto len = reinterpret_cast<size_t *>(size);
ConsoleOutput("debug:LucaSystem: text[0]:%x", text[0]);
if (text[0] == L'\x3000') { //removes space at the beginning of the sentence
*len -= 2;
::memmove(text, text + 1, *len);