(RGUI) do a case-insensitive sort for filebrowser

This commit is contained in:
Toad King 2012-08-21 21:20:43 -04:00
parent a2dcebc33d
commit 613d330eb0

View File

@ -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)