From 2fb61e432eed2fffb9f24a089067a7c2ec95fb1f Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sat, 29 Jul 2017 19:43:46 +0900 Subject: [PATCH] s/stricmp/strcasecmp/ --- channel/channelapp/source/appentry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/channel/channelapp/source/appentry.c b/channel/channelapp/source/appentry.c index 374957f..73b49e5 100644 --- a/channel/channelapp/source/appentry.c +++ b/channel/channelapp/source/appentry.c @@ -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) {