mirror of
https://github.com/fail0verflow/hbc.git
synced 2024-11-22 01:29:19 +01:00
s/stricmp/strcasecmp/
This commit is contained in:
parent
4d79df1ca7
commit
2fb61e432e
@ -65,7 +65,7 @@ static int cmp_app_entry (const void *p1, const void *p2) {
|
||||
}
|
||||
|
||||
if (!a1->meta && !a2->meta)
|
||||
return stricmp (a1->dirname, a2->dirname);
|
||||
return strcasecmp (a1->dirname, a2->dirname);
|
||||
|
||||
if (!a1->meta && a2->meta)
|
||||
return 1;
|
||||
@ -90,7 +90,7 @@ static int cmp_app_entry (const void *p1, const void *p2) {
|
||||
}
|
||||
|
||||
if (!a1->meta->name && !a2->meta->name)
|
||||
return stricmp (a1->dirname, a2->dirname);
|
||||
return strcasecmp (a1->dirname, a2->dirname);
|
||||
|
||||
if (!a1->meta->name && a2->meta->name)
|
||||
return 1;
|
||||
@ -98,7 +98,7 @@ static int cmp_app_entry (const void *p1, const void *p2) {
|
||||
if (a1->meta->name && !a2->meta->name)
|
||||
return -1;
|
||||
|
||||
return stricmp (a1->meta->name, a2->meta->name);
|
||||
return strcasecmp (a1->meta->name, a2->meta->name);
|
||||
}
|
||||
|
||||
static void app_entry_filter(app_filter filter) {
|
||||
|
Loading…
Reference in New Issue
Block a user