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)