mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 22:55:18 +00:00
Fix a typo in a previous SDL2 related commit.
The error avoided the code to be compiled, somehow got lost between all the other compilation errors still around.
This commit is contained in:
parent
d64e5fb98e
commit
e2e029b6e0
@ -604,7 +604,7 @@ void hotkey_preferences_dialog::show_binding_dialog(
|
||||
case SDL_KEYDOWN:
|
||||
keycode = event.key.keysym.sym;
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
character = event.keysym.scancode,
|
||||
character = event.key.keysym.scancode,
|
||||
#else
|
||||
character = event.key.keysym.unicode;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user