From 61eb017461cd87a93bb9b63694d9f9faf661fbf7 Mon Sep 17 00:00:00 2001 From: Bigfoot71 Date: Sun, 6 Jul 2025 16:03:36 +0200 Subject: [PATCH] codepoint fix (?) --- src/platforms/rcore_desktop_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/rcore_desktop_sdl.c b/src/platforms/rcore_desktop_sdl.c index 23b9e55fc..a74c340ed 100644 --- a/src/platforms/rcore_desktop_sdl.c +++ b/src/platforms/rcore_desktop_sdl.c @@ -1621,7 +1621,7 @@ void PollInputEvents(void) unsigned int codepoint = (unsigned int)SDL_StepUTF8(&event.text.text, textLen); #else int codepointSize = 0; - codepoint = GetCodepointNextSDL(event.text.text, &codepointSize); + unsigned int codepoint = GetCodepointNextSDL(event.text.text, &codepointSize); #endif CORE.Input.Keyboard.charPressedQueue[CORE.Input.Keyboard.charPressedQueueCount] = codepoint; CORE.Input.Keyboard.charPressedQueueCount++;