forked from mirror/OpenTTD
(svn r24983) -Change: Apply the same name sorting rules to content and NewGRF list as for the server list.
This commit is contained in:
@@ -1368,7 +1368,7 @@ private:
|
||||
/** Sort grfs by name. */
|
||||
static int CDECL NameSorter(const GRFConfig * const *a, const GRFConfig * const *b)
|
||||
{
|
||||
int i = strnatcmp((*a)->GetName(), (*b)->GetName()); // Sort by name (natural sorting).
|
||||
int i = strnatcmp((*a)->GetName(), (*b)->GetName(), true); // Sort by name (natural sorting).
|
||||
if (i != 0) return i;
|
||||
|
||||
i = (*a)->version - (*b)->version;
|
||||
|
Reference in New Issue
Block a user