summaryrefslogtreecommitdiff
path: root/src/hotkeys.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2013-08-05 20:36:28 +0000
committermichi_cc <michi_cc@openttd.org>2013-08-05 20:36:28 +0000
commit1567e32d89d338fcdf7ac47f4d5fb02e1ca8c18a (patch)
tree4cc395f6afa221dc4697b66ad1f7017e54c2d9cd /src/hotkeys.h
parentb911f4a45256bbee790cb9fdb9b97ebeeddae691 (diff)
downloadopenttd-1567e32d89d338fcdf7ac47f4d5fb02e1ca8c18a.tar.xz
(svn r25669) -Codechange: Pass UCS-4 instead of UCS-2 characters to the hotkey handlers.
Diffstat (limited to 'src/hotkeys.h')
-rw-r--r--src/hotkeys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hotkeys.h b/src/hotkeys.h
index 19791663d..25a489b3f 100644
--- a/src/hotkeys.h
+++ b/src/hotkeys.h
@@ -15,6 +15,7 @@
#include "core/smallvec_type.hpp"
#include "gfx_type.h"
#include "window_type.h"
+#include "string_type.h"
/**
* All data for a single hotkey. The name (for saving/loading a configfile),
@@ -67,6 +68,6 @@ void LoadHotkeysFromConfig();
void SaveHotkeysToConfig();
-void HandleGlobalHotkeys(uint16 key, uint16 keycode);
+void HandleGlobalHotkeys(WChar key, uint16 keycode);
#endif /* HOTKEYS_H */