(svn r13865) -Codechange: Use case-insensitive sort for NewGRF list.

This commit is contained in:
peter1138 2008-07-29 07:51:55 +00:00
parent ec58ec4a73
commit b49814c537
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ static int CDECL GRFSorter(const void *p1, const void *p2)
const GRFConfig *c1 = *(const GRFConfig **)p1;
const GRFConfig *c2 = *(const GRFConfig **)p2;
return strcmp(c1->name != NULL ? c1->name : c1->filename,
return strcasecmp(c1->name != NULL ? c1->name : c1->filename,
c2->name != NULL ? c2->name : c2->filename);
}