Mercurial > hg > openttd
changeset 11860:ebf5beca420e draft
(svn r16254) -Fix [FS#2886]: Magic constant removed.
author | frosch <frosch@openttd.org> |
---|---|
date | Fri, 08 May 2009 09:00:47 +0000 |
parents | ec6ec69c1fe3 |
children | 83bb9f5543fc |
files | src/network/network_gui.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -546,8 +546,8 @@ ShowQueryString( STR_JUST_RAW_STRING, STR_NETWORK_ENTER_IP, - 31, // maximum number of characters - 250, // characters up to this width pixels, whichever is satisfied first + NETWORK_HOSTNAME_LENGTH, // maximum number of characters including '\0' + 0, // no limit in pixels this, CS_ALPHANUMERAL, QSF_ACCEPT_UNCHANGED); break;