From 2b32ddf24f79907bae21d791aa43756e484cf9c1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 Jan 2012 22:35:19 +0000 Subject: [PATCH] (svn r23710) -Change: make the default secondary sort method for the server list the number of clients instead of the name --- src/network/network_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 539087ff8e..d6fc35c285 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -320,8 +320,8 @@ protected: if (r == 0) r = (*b)->info.compatible - (*a)->info.compatible; /* Passworded servers should be below unpassworded servers */ if (r == 0) r = (*a)->info.use_password - (*b)->info.use_password; - /* Finally sort on the name of the server */ - if (r == 0) r = NGameNameSorter(a, b); + /* Finally sort on the number of clients of the server */ + if (r == 0) r = -NGameClientSorter(a, b); return r; }