summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-10-25 15:25:52 +0000
committerfrosch <frosch@openttd.org>2008-10-25 15:25:52 +0000
commitfd049f0a64b27390ec6f5801e5af6825f7d72383 (patch)
treeea86150311838090bcc7174cbd7dbbc288454a64 /src
parentac281ed35c2aa8f2172601ebf23ffcac9f2acbf9 (diff)
downloadopenttd-fd049f0a64b27390ec6f5801e5af6825f7d72383.tar.xz
(svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window.
Diffstat (limited to 'src')
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 6a79ea3b1..9d9fadbbc 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1892,7 +1892,7 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
break;
case NCPWW_PASSWORD:
- ShowOnScreenKeyboard(this, NCPWW_PASSWORD, 2, 1);
+ ShowOnScreenKeyboard(this, NCPWW_PASSWORD, NCPWW_CANCEL, NCPWW_OK);
break;
}
}