diff options
author | frosch <frosch@openttd.org> | 2012-11-13 21:46:50 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-13 21:46:50 +0000 |
commit | 67f92f16eda1e9d251d665df7ceaa6127af4c593 (patch) | |
tree | 94a89a5e7fd36f6ce2b01338f694ff5c6b26bf1c /src/misc_gui.cpp | |
parent | 6d1fe626f5524dc05febe0a715fd9ba80108befd (diff) | |
download | openttd-67f92f16eda1e9d251d665df7ceaa6127af4c593.tar.xz |
(svn r24730) -Codechange: Allow OSK to simulate widget buttons with index 0.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 18ec4d8ee..97d218d71 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -826,7 +826,7 @@ HandleEditBoxResult QueryStringBaseWindow::HandleEditBoxKey(int wid, uint16 key, void QueryStringBaseWindow::OnOpenOSKWindow(int wid) { - ShowOnScreenKeyboard(this, wid, 0, 0); + ShowOnScreenKeyboard(this, wid, -1, -1); } /** Class for the string query window. */ |