Skip to content

Commit

Permalink
(svn r5655) -Fix [SF 1424115]: Reversed arrow-sign in the multiplayer…
Browse files Browse the repository at this point in the history
… list column headers on sort by name
  • Loading branch information
Darkvater committed Jul 30, 2006
1 parent 9abf858 commit 7c87c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network_gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static int CDECL NGameClientSorter(const void *a, const void *b)
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);
Expand Down

0 comments on commit 7c87c2e

Please sign in to comment.