From 81f8ac6c5718ac37dcc713a6e092493190c1998b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 28 Feb 2012 23:26:29 +0000 Subject: Oops. Subversion-branch: /branches/v2-branch Subversion-revision: 2506 --- src/setup/multiplayer.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') 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)) { -- cgit v1.2.3