1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 18:09:09 +00:00

(svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names.

This commit is contained in:
rubidium
2009-04-08 19:39:03 +00:00
parent 08e37a6f10
commit 1d4318c0d1
2 changed files with 2 additions and 2 deletions

View File

@@ -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;