summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 5d575c32d..687e36337 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -745,7 +745,6 @@ static void NetworkStartServerWindowWndProc(Window *w, WindowEvent *e)
if (HandleEditBoxKey(w, &WP(w, network_ql_d).q, 3, e) == 1) break; // enter pressed
ttd_strlcpy(_network_server_name, WP(w, network_ql_d).q.text.buf, sizeof(_network_server_name));
- UpdateTextBufferSize(&WP(w, network_ql_d).q.text);
}
break;