summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 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)