Browse Source

codepoint fix (?)

pull/4832/head
Bigfoot71 2 weeks ago
parent
commit
61eb017461
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/platforms/rcore_desktop_sdl.c

+ 1
- 1
src/platforms/rcore_desktop_sdl.c View File

@ -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);
kt">unsigned int codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
#endif
CORE.Input.Keyboard.charPressedQueue[CORE.Input.Keyboard.charPressedQueueCount] = codepoint;
CORE.Input.Keyboard.charPressedQueueCount++;

Loading…
Cancel
Save