author | peter1138 |
Tue, 29 Jul 2008 07:51:55 +0000 | |
changeset 9733 | 94144b73041b |
parent 9732 | 80088f3badcc |
child 9734 | eb7fab767c8e |
--- a/src/newgrf_config.cpp Mon Jul 28 23:37:19 2008 +0000 +++ b/src/newgrf_config.cpp Tue Jul 29 07:51:55 2008 +0000 @@ -381,7 +381,7 @@ 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); }