diff options
author | Darkvater <darkvater@openttd.org> | 2006-07-30 14:57:28 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-07-30 14:57:28 +0000 |
commit | 7c87c2e752623b4f08b2aaa32899732c975ba171 (patch) | |
tree | 9af8803e1b970f4f56aedbf49dedc983a23b313d /network_gui.c | |
parent | 9abf858aafc1f0b72b5416ab792003545bb2c9cf (diff) | |
download | openttd-7c87c2e752623b4f08b2aaa32899732c975ba171.tar.xz |
(svn r5655) -Fix [SF 1424115]: Reversed arrow-sign in the multiplayer list column headers on sort by name
Diffstat (limited to 'network_gui.c')
-rw-r--r-- | network_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_gui.c b/network_gui.c index c5e0aa356..eb7e37b4b 100644 --- a/network_gui.c +++ b/network_gui.c @@ -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); |