summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index b10c037f6..87847ba70 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1027,7 +1027,7 @@ struct QueryWindow : public Window {
}
}
- virtual EventState OnKeyPress(uint16 key, uint16 keycode)
+ virtual EventState OnKeyPress(WChar key, uint16 keycode)
{
/* ESC closes the window, Enter confirms the action */
switch (keycode) {