summaryrefslogtreecommitdiff
path: root/src/textbuf.cpp
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.cpp
parent1567e32d89d338fcdf7ac47f4d5fb02e1ca8c18a (diff)
downloadopenttd-270d8aa639341f8be7fde9aa6e6f5bb6fa894d4f.tar.xz
(svn r25670) -Codechange: Pass UCS-4 characters to the edit box key handler.
Diffstat (limited to 'src/textbuf.cpp')
-rw-r--r--src/textbuf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textbuf.cpp b/src/textbuf.cpp
index c7071565a..58f931f8a 100644
--- a/src/textbuf.cpp
+++ b/src/textbuf.cpp
@@ -362,7 +362,7 @@ bool Textbuf::HandleCaret()
return false;
}
-HandleKeyPressResult Textbuf::HandleKeyPress(uint16 key, uint16 keycode)
+HandleKeyPressResult Textbuf::HandleKeyPress(WChar key, uint16 keycode)
{
bool edited = false;