summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-06-09 14:49:49 +0000
committerfrosch <frosch@openttd.org>2012-06-09 14:49:49 +0000
commit7e57e8692ad7f0f4e4981f1b49cb9b32d43710b9 (patch)
tree4c12d09f058dfb61cbb3b6df6f09797327c8a59c
parentf6b3e0d19947717ee9e4d0645e5dbd05bdc4e04f (diff)
downloadopenttd-7e57e8692ad7f0f4e4981f1b49cb9b32d43710b9.tar.xz
(svn r24335) -Fix: The cursor in the company password window was not blinking due to wrong magic constants (same as r17539).
-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 b5e04d828..27093da66 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -2181,7 +2181,7 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
virtual void OnMouseLoop()
{
- this->HandleEditBox(4);
+ this->HandleEditBox(WID_NCP_PASSWORD);
}
virtual EventState OnKeyPress(uint16 key, uint16 keycode)