mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(RGUI) do a case-insensitive sort for filebrowser
This commit is contained in:
parent
a2dcebc33d
commit
613d330eb0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user