mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 19:12:44 +03:00
fix(gx): SUniSGetUTF8, not SUniGetUTF8
This commit is contained in:
parent
18572b35fc
commit
2dd65b2b5d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user