mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-26 22:06:06 +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;
|
uint32_t charactersize = 0;
|
||||||
|
|
||||||
// Read UTF-8 character
|
// 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) {
|
if (character < 0) {
|
||||||
// Cancel in case of invalid input
|
// Cancel in case of invalid input
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user