summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-13 21:46:50 +0000
committerfrosch <frosch@openttd.org>2012-11-13 21:46:50 +0000
commit67f92f16eda1e9d251d665df7ceaa6127af4c593 (patch)
tree94a89a5e7fd36f6ce2b01338f694ff5c6b26bf1c /src/misc_gui.cpp
parent6d1fe626f5524dc05febe0a715fd9ba80108befd (diff)
downloadopenttd-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.cpp2
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. */