From 70f8f430692a84c60db375396a04e88f10046cb2 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 17 Nov 2007 11:42:23 +0000 Subject: [PATCH] use strcasecmp for file name sorting git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7701 d7cf8633-e32d-0410-b094-e92efae38249 --- filematch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filematch.c b/filematch.c index f75ba870..eeae427d 100644 --- a/filematch.c +++ b/filematch.c @@ -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]; -- 2.39.2