summaryrefslogtreecommitdiff
path: root/src/setup/multiplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/multiplayer.c')
-rw-r--r--src/setup/multiplayer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/setup/multiplayer.c b/src/setup/multiplayer.c
index d9bda1fe..3d7c0e3b 100644
--- a/src/setup/multiplayer.c
+++ b/src/setup/multiplayer.c
@@ -860,15 +860,19 @@ 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(description),
+ TXT_NewLabel(buf),//description),
NULL);
++query_servers_found;
}
+}
static void QueryPeriodicCallback(TXT_UNCAST_ARG(results_table))
{