(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

@@ -715,7 +715,7 @@ static int CDECL GRFSorter(GRFConfig * const *p1, GRFConfig * const *p2)
const GRFConfig *c1 = *p1;
const GRFConfig *c2 = *p2;
return strcasecmp(c1->GetName(), c2->GetName());
return strnatcmp(c1->GetName(), c2->GetName());
}
/**