From 8fc723800fc2f05eb91399024306b6e98f4f5d02 Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 8 May 2009 09:00:47 +0000 Subject: (svn r16254) -Fix [FS#2886]: Magic constant removed. --- src/network/network_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network') diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 394c80d36..fb9ea8f09 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -546,8 +546,8 @@ public: 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; -- cgit v1.2.3-70-g09d2