diff options
author | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:37:25 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:37:25 +0000 |
commit | 0883cf76e34527f3bf4d8a19c6f68b655969798c (patch) | |
tree | 2626bc344a106a36aa31fca834a40c1bb74f9472 /src/console_gui.cpp | |
parent | 64d2fc4d1e4124a55ccee8c4a4c6e43d1c2ae9fe (diff) | |
download | openttd-0883cf76e34527f3bf4d8a19c6f68b655969798c.tar.xz |
(svn r25684) -Change: [Win32] Draw the composition string ourselves if possible.
Diffstat (limited to 'src/console_gui.cpp')
-rw-r--r-- | src/console_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp index 9a48f72a6..69cf7a4d7 100644 --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -311,9 +311,9 @@ struct IConsoleWindow : Window return ES_HANDLED; } - virtual void InsertTextString(int wid, const char *str) + virtual void InsertTextString(int wid, const char *str, bool marked, const char *caret) { - if (_iconsole_cmdline.InsertString(str)) { + if (_iconsole_cmdline.InsertString(str, marked, caret)) { IConsoleWindow::scroll = 0; IConsoleResetHistoryPos(); this->SetDirty(); |