From 3e02890b739b4b7331a6f5d65fb3fdc1bcd57db6 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 9 Feb 2013 17:31:07 +0000 Subject: (svn r24983) -Change: Apply the same name sorting rules to content and NewGRF list as for the server list. --- src/newgrf_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_gui.cpp') diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 84e48da45..8f73ee4f3 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -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; -- cgit v1.2.3-54-g00ecf