Skip to content

Commit 5957564

Browse files
authored
Merge pull request #5026 from jonathandw743/sdlfix
fixed compile error for PLATFORM sdl
2 parents eaea8e0 + 79c29cb commit 5957564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/rcore_desktop_sdl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,7 @@ void PollInputEvents(void)
16121612
unsigned int codepoint = (unsigned int)SDL_StepUTF8(&event.text.text, textLen);
16131613
#else
16141614
int codepointSize = 0;
1615-
codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
1615+
int codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
16161616
#endif
16171617
CORE.Input.Keyboard.charPressedQueue[CORE.Input.Keyboard.charPressedQueueCount] = codepoint;
16181618
CORE.Input.Keyboard.charPressedQueueCount++;

0 commit comments

Comments
 (0)