summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/setup/multiplayer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/setup/multiplayer.c b/src/setup/multiplayer.c
index 3d7c0e3b..d9bda1fe 100644
--- a/src/setup/multiplayer.c
+++ b/src/setup/multiplayer.c
@@ -860,19 +860,15 @@ static void QueryResponseCallback(net_addr_t *addr,
strncpy(description, querydata->description, 46);
description[46] = '\0';
-while (query_servers_found < 12) {
-char buf[100];
-sprintf(buf, "server %i", query_servers_found);
TXT_AddWidgets(results_table,
TXT_NewLabel(ping_time_str),
TXT_NewButton2(NET_AddrToString(addr),
SelectQueryAddress, querydata),
- TXT_NewLabel(buf),//description),
+ TXT_NewLabel(description),
NULL);
++query_servers_found;
}
-}
static void QueryPeriodicCallback(TXT_UNCAST_ARG(results_table))
{