diff options
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 343c30df9..913a8ff29 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -1201,7 +1201,7 @@ private: /** Sort grfs by name. */ static int CDECL NameSorter(const GRFConfig * const *a, const GRFConfig * const *b) { - int i = strcasecmp((*a)->GetName(), (*b)->GetName()); + int i = strnatcmp((*a)->GetName(), (*b)->GetName()); // Sort by name (natural sorting). if (i != 0) return i; i = (*a)->version - (*b)->version; |