Ignore case when sorting strings alphabetically

This commit is contained in:
crazyBaboon 2022-04-13 01:07:41 +01:00 committed by GitHub
parent 9a244564be
commit e5100bcef6
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