network_gui.c
changeset 4195 65070272012d
parent 4171 3fadda3afe70
child 4223 0f9535dda7ed
--- a/network_gui.c	Sun Jul 30 14:56:40 2006 +0000
+++ b/network_gui.c	Sun Jul 30 14:57:28 2006 +0000
@@ -129,7 +129,7 @@
 	const NetworkGameList *cmp1 = *(const NetworkGameList**)a;
 	const NetworkGameList *cmp2 = *(const NetworkGameList**)b;
 	/* Reverse as per default we are interested in most-clients first */
-	int r = cmp2->info.clients_on - cmp1->info.clients_on;
+	int r = cmp1->info.clients_on - cmp2->info.clients_on;
 
 	if (r == 0) r = cmp1->info.clients_max - cmp2->info.clients_max;
 	if (r == 0) r = strcasecmp(cmp1->info.server_name, cmp2->info.server_name);