summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_gui.cpp4
1 files changed, 2 insertions, 2 deletions
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;