summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-09-14 20:24:17 +0000
committerfrosch <frosch@openttd.org>2009-09-14 20:24:17 +0000
commitbc8557d5c05da4c4bec266fe0665d7f400257946 (patch)
tree5727156524d8dc3ae0eda31ecf021e7815cd909a /src/network
parent2773865cd685e6413ee3a811a7fbf0784fcfa627 (diff)
downloadopenttd-bc8557d5c05da4c4bec266fe0665d7f400257946.tar.xz
(svn r17539) -Codechange: Replace a magic number.
Diffstat (limited to 'src/network')
-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 01679d829..0fd6ddd27 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -2204,7 +2204,7 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
virtual void OnPaint()
{
this->DrawWidgets();
- this->DrawEditBox(4);
+ this->DrawEditBox(NCPWW_PASSWORD);
}
virtual void OnClick(Point pt, int widget)