Skip to content

Commit

Permalink
C4FullScreen: Fix text input encoding conversion with USE_SDL_MAINLOOP
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgen301 committed Nov 14, 2024
1 parent 80147ff commit 47c4af9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/C4FullScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,7 @@ void C4FullScreen::HandleMessage(SDL_Event &e)
{
case SDL_TEXTINPUT:
{
if (Game.pGUI)
{
Game.pGUI->CharIn(e.text.text);
}
CharIn(e.text.text);
break;
}
case SDL_KEYDOWN:
Expand Down

0 comments on commit 47c4af9

Please sign in to comment.