diff options
author | yexo <yexo@openttd.org> | 2010-06-23 00:11:11 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-06-23 00:11:11 +0000 |
commit | 9683b8746674af9963fb13f00e020edf1dba91f4 (patch) | |
tree | b0bc93e5dc23f744d3946483b38812652eb7b617 /src/network | |
parent | 977f72f872fa882d8a05adbdd4cc9f4cdb4c29c9 (diff) | |
download | openttd-9683b8746674af9963fb13f00e020edf1dba91f4.tar.xz |
(svn r20012) -Fix: when joining a company with a password you could only enter 20 characters of the password
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index ba2cc25f0..6172e1643 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -2263,7 +2263,7 @@ void ShowNetworkNeedPassword(NetworkPasswordType npt) case NETWORK_GAME_PASSWORD: caption = STR_NETWORK_NEED_GAME_PASSWORD_CAPTION; break; case NETWORK_COMPANY_PASSWORD: caption = STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION; break; } - ShowQueryString(STR_EMPTY, caption, 20, 180, w, CS_ALPHANUMERAL, QSF_NONE); + ShowQueryString(STR_EMPTY, caption, NETWORK_PASSWORD_LENGTH, 180, w, CS_ALPHANUMERAL, QSF_NONE); } |