use strcasecmp for file name sorting
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 17 Nov 2007 11:42:23 +0000 (11:42 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 17 Nov 2007 11:42:23 +0000 (11:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7701 d7cf8633-e32d-0410-b094-e92efae38249

filematch.c

index f75ba87..eeae427 100644 (file)
@@ -108,7 +108,7 @@ void stringlistsort(stringlist_t *list)
        {
                for (j = i + 1;j < list->numstrings;j++)
                {
-                       if (strcmp(list->strings[i], list->strings[j]) > 0)
+                       if (strcasecmp(list->strings[i], list->strings[j]) > 0)
                        {
                                temp = list->strings[i];
                                list->strings[i] = list->strings[j];