summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-08 19:39:03 +0000
committerrubidium <rubidium@openttd.org>2009-04-08 19:39:03 +0000
commit1d4318c0d16cb6017fc41027fa96d042851dbf10 (patch)
tree91c5ea2dd5dd5a74a6aa38b92f45bf034da9ea7b /src/network
parent08e37a6f1026bdb2ae28d90e605230c7f864b4b9 (diff)
downloadopenttd-1d4318c0d16cb6017fc41027fa96d042851dbf10.tar.xz
(svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names.
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 8c16f4ddc..1aa201183 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -305,7 +305,7 @@ protected:
}
public:
- NetworkGameWindow(const WindowDesc *desc) : QueryStringBaseWindow(NETWORK_NAME_LENGTH, desc)
+ NetworkGameWindow(const WindowDesc *desc) : QueryStringBaseWindow(NETWORK_CLIENT_NAME_LENGTH, desc)
{
this->widget[NGWW_CLIENTS].left = this->widget[NGWW_NAME].right + 1;
this->widget[NGWW_MAPSIZE].left = this->widget[NGWW_NAME].right + 1;