1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-22 05:59:10 +00:00

(svn r27063) -Fix [FS#6172]: Some lists did not use natural string sorting.

This commit is contained in:
frosch
2014-11-18 20:12:42 +00:00
parent c00e48eedb
commit 861b9bc85e
3 changed files with 7 additions and 4 deletions

View File

@@ -1864,7 +1864,7 @@ int CDECL StringIDSorter(const StringID *a, const StringID *b)
GetString(stra, *a, lastof(stra));
GetString(strb, *b, lastof(strb));
return strcmp(stra, strb);
return strnatcmp(stra, strb);
}
/**