From 613d330eb005b111968908f0e56cc05165600169 Mon Sep 17 00:00:00 2001 From: Toad King Date: Tue, 21 Aug 2012 21:20:43 -0400 Subject: [PATCH] (RGUI) do a case-insensitive sort for filebrowser --- console/rgui/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/rgui/list.c b/console/rgui/list.c index 00d8a75c1c..fb2626b2cb 100644 --- a/console/rgui/list.c +++ b/console/rgui/list.c @@ -111,7 +111,7 @@ static int list_comp(const void *a_, const void *b_) if (a->type != b->type) return a->type == RGUI_FILE_DIRECTORY ? -1 : 1; - return strcmp(a->path, b->path); + return strcasecmp(a->path, b->path); } void rgui_list_sort(rgui_list_t *list)