mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 12:25:59 +03:00
fix(gx): change charactersize to int32
This commit is contained in:
parent
2dd65b2b5d
commit
dbac391d9e
@ -347,7 +347,7 @@ void GLSDLWindow::DispatchSDLTextInputEvent(const SDL_Event& event) {
|
|||||||
// individual OS_INPUT_CHAR events
|
// individual OS_INPUT_CHAR events
|
||||||
while (*text != '\0') {
|
while (*text != '\0') {
|
||||||
// byte size of current UTF-8 character
|
// byte size of current UTF-8 character
|
||||||
uint32_t charactersize = 0;
|
int32_t charactersize = 0;
|
||||||
|
|
||||||
// Read UTF-8 character
|
// Read UTF-8 character
|
||||||
auto character = static_cast<int32_t>(SUniSGetUTF8(text, &charactersize));
|
auto character = static_cast<int32_t>(SUniSGetUTF8(text, &charactersize));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user