summaryrefslogtreecommitdiff
path: root/src/textbuf_type.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2013-08-05 20:36:32 +0000
committermichi_cc <michi_cc@openttd.org>2013-08-05 20:36:32 +0000
commit270d8aa639341f8be7fde9aa6e6f5bb6fa894d4f (patch)
tree17fea95fbb6309e6250ef15b52910e8f5932b9bc /src/textbuf_type.h
parent1567e32d89d338fcdf7ac47f4d5fb02e1ca8c18a (diff)
downloadopenttd-270d8aa639341f8be7fde9aa6e6f5bb6fa894d4f.tar.xz
(svn r25670) -Codechange: Pass UCS-4 characters to the edit box key handler.
Diffstat (limited to 'src/textbuf_type.h')
-rw-r--r--src/textbuf_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textbuf_type.h b/src/textbuf_type.h
index 4d1a926fb..597615990 100644
--- a/src/textbuf_type.h
+++ b/src/textbuf_type.h
@@ -56,7 +56,7 @@ struct Textbuf {
bool DeleteChar(uint16 keycode);
bool MovePos(uint16 keycode);
- HandleKeyPressResult HandleKeyPress(uint16 key, uint16 keycode);
+ HandleKeyPressResult HandleKeyPress(WChar key, uint16 keycode);
bool HandleCaret();
void UpdateSize();