shithub: choc

Download patch

ref: 81f8ac6c5718ac37dcc713a6e092493190c1998b
parent: 50443ac902340f90d6c87769d77e8836f1879ed6
author: Simon Howard <[email protected]>
date: Tue Feb 28 18:26:29 EST 2012

Oops.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2506

--- a/src/setup/multiplayer.c
+++ b/src/setup/multiplayer.c
@@ -860,18 +860,14 @@
     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))