Skip to content

Commit

Permalink
Fixed stored char for Mac.
Browse files Browse the repository at this point in the history
  • Loading branch information
najlkin committed Sep 13, 2024
1 parent 7abcc9f commit 031ca5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sdl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ void SdlWindow::keyDownEvent(SDL_Keysym& ks)
{
lastKeyDownProcessed = false;
lastKeyDownMods = ks.mod;
lastKeyDownChar = scan_name[0];
lastKeyDownChar = ks.sym;
return;
}
// If the key is not in the range [32,127) then we processed the event here.
Expand Down

0 comments on commit 031ca5c

Please sign in to comment.