summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2012-02-28 23:26:29 +0000
committerSimon Howard2012-02-28 23:26:29 +0000
commit81f8ac6c5718ac37dcc713a6e092493190c1998b (patch)
tree285f5f65d9134104613a8e26b3c45d2d5d82257c /src
parent50443ac902340f90d6c87769d77e8836f1879ed6 (diff)
downloadchocolate-doom-81f8ac6c5718ac37dcc713a6e092493190c1998b.tar.gz
chocolate-doom-81f8ac6c5718ac37dcc713a6e092493190c1998b.tar.bz2
chocolate-doom-81f8ac6c5718ac37dcc713a6e092493190c1998b.zip
Oops.
Subversion-branch: /branches/v2-branch Subversion-revision: 2506
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))
{