Merge pull request #445 from crazyBaboon/ImproveFileBrowser

demo: ignore case when sorting strings alphabetically in filebrowser
This commit is contained in:
dumblob 2022-04-13 09:43:06 +02:00 committed by GitHub
commit e5c44b7182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ int cmp_fn(const void *str1, const void *str2)
{
const char *str1_ret = *(const char **)str1;
const char *str2_ret = *(const char **)str2;
return strcmp(str1_ret, str2_ret);
return nk_stricmp(str1_ret, str2_ret);
}
static int