summaryrefslogtreecommitdiff
path: root/src/guiChatConsole.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2016-12-24 14:26:03 +0100
committersfan5 <sfan5@live.de>2016-12-26 22:36:22 +0100
commit084cdea6862cb65fe4bb807a211a9e1c17cffec8 (patch)
tree64c0bd1d43a34b8b7c026ececf31f681fb0d68c4 /src/guiChatConsole.cpp
parentb16252dcae8c6b0e79c20fa4c3cbddc37ad377cb (diff)
downloadminetest-084cdea6862cb65fe4bb807a211a9e1c17cffec8.tar.gz
minetest-084cdea6862cb65fe4bb807a211a9e1c17cffec8.tar.bz2
minetest-084cdea6862cb65fe4bb807a211a9e1c17cffec8.zip
Irrlicht 1.9 support
Diffstat (limited to 'src/guiChatConsole.cpp')
-rw-r--r--src/guiChatConsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiChatConsole.cpp b/src/guiChatConsole.cpp
index 8dd5ab032..867576175 100644
--- a/src/guiChatConsole.cpp
+++ b/src/guiChatConsole.cpp
@@ -630,7 +630,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
}
else if(event.KeyInput.Char != 0 && !event.KeyInput.Control)
{
- #if (defined(__linux__))
+ #if defined(__linux__) && (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9)
wchar_t wc = L'_';
mbtowc( &wc, (char *) &event.KeyInput.Char, sizeof(event.KeyInput.Char) );
prompt.input(wc);