diff options
author | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:28 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:28 +0000 |
commit | 1567e32d89d338fcdf7ac47f4d5fb02e1ca8c18a (patch) | |
tree | 4cc395f6afa221dc4697b66ad1f7017e54c2d9cd /src/hotkeys.cpp | |
parent | b911f4a45256bbee790cb9fdb9b97ebeeddae691 (diff) | |
download | openttd-1567e32d89d338fcdf7ac47f4d5fb02e1ca8c18a.tar.xz |
(svn r25669) -Codechange: Pass UCS-4 instead of UCS-2 characters to the hotkey handlers.
Diffstat (limited to 'src/hotkeys.cpp')
-rw-r--r-- | src/hotkeys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hotkeys.cpp b/src/hotkeys.cpp index bf3bb8ef2..34b8fe4d7 100644 --- a/src/hotkeys.cpp +++ b/src/hotkeys.cpp @@ -337,7 +337,7 @@ void SaveHotkeysToConfig() SaveLoadHotkeys(true); } -void HandleGlobalHotkeys(uint16 key, uint16 keycode) +void HandleGlobalHotkeys(WChar key, uint16 keycode) { for (HotkeyList **list = _hotkey_lists->Begin(); list != _hotkey_lists->End(); ++list) { if ((*list)->global_hotkey_handler == NULL) continue; |