fix(gx): SUniSGetUTF8, not SUniGetUTF8

This commit is contained in:
superp00t 2023-11-26 12:25:07 -05:00
parent 18572b35fc
commit 2dd65b2b5d

View File

@ -350,7 +350,7 @@ void GLSDLWindow::DispatchSDLTextInputEvent(const SDL_Event& event) {
uint32_t charactersize = 0;
// Read UTF-8 character
auto character = static_cast<int32_t>(SUniGetUTF8(text, &charactersize));
auto character = static_cast<int32_t>(SUniSGetUTF8(text, &charactersize));
if (character < 0) {
// Cancel in case of invalid input
break;