diff options
author | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:24 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:24 +0000 |
commit | b911f4a45256bbee790cb9fdb9b97ebeeddae691 (patch) | |
tree | d6587f0739fff3ecc397e9cf989a1f4e33f4b16b /src/console_gui.cpp | |
parent | 923eb009e8e3dafb224747e443fb366e76ec6b84 (diff) | |
download | openttd-b911f4a45256bbee790cb9fdb9b97ebeeddae691.tar.xz |
(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.
Diffstat (limited to 'src/console_gui.cpp')
-rw-r--r-- | src/console_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp index 33e2ed1c5..dc9a0cb79 100644 --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -236,7 +236,7 @@ struct IConsoleWindow : Window if (_iconsole_cmdline.HandleCaret()) this->SetDirty(); } - virtual EventState OnKeyPress(uint16 key, uint16 keycode) + virtual EventState OnKeyPress(WChar key, uint16 keycode) { if (_focused_window != this) return ES_NOT_HANDLED; |