1
0
Fork 0

(svn r5655) -Fix [SF 1424115]: Reversed arrow-sign in the multiplayer list column headers on sort by name

release/0.5
Darkvater 2006-07-30 14:57:28 +00:00
parent 9abf858aaf
commit 7c87c2e752
1 changed files with 1 additions and 1 deletions

View File

@ -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);