diff options
author | frosch <frosch@openttd.org> | 2013-02-09 17:31:07 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-02-09 17:31:07 +0000 |
commit | 3e02890b739b4b7331a6f5d65fb3fdc1bcd57db6 (patch) | |
tree | 6cff777110fc8457f73b38b9a42e977ac70c5f1f /src/newgrf_gui.cpp | |
parent | 4e61c1770dc584229afdca7a37ce82dbf121b9d4 (diff) | |
download | openttd-3e02890b739b4b7331a6f5d65fb3fdc1bcd57db6.tar.xz |
(svn r24983) -Change: Apply the same name sorting rules to content and NewGRF list as for the server list.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |