From 031ca5c1c63f24d12b167b908299500d40c07249 Mon Sep 17 00:00:00 2001 From: Jan Nikl Date: Fri, 13 Sep 2024 14:49:32 -0700 Subject: [PATCH] Fixed stored char for Mac. --- lib/sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sdl.cpp b/lib/sdl.cpp index c49f09d7..0a978f5f 100644 --- a/lib/sdl.cpp +++ b/lib/sdl.cpp @@ -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.