summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/fe-help.c')
-rw-r--r--src/fe-common/core/fe-help.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/fe-help.c b/src/fe-common/core/fe-help.c
index b51b8949..4ea7c89f 100644
--- a/src/fe-common/core/fe-help.c
+++ b/src/fe-common/core/fe-help.c
@@ -194,11 +194,11 @@ static void show_help(const char *data)
items = 0;
}
- if (last != NULL && g_strcasecmp(rec->cmd, last->cmd) == 0)
+ if (last != NULL && g_ascii_strcasecmp(rec->cmd, last->cmd) == 0)
continue; /* don't display same command twice */
if ((int)strlen(rec->cmd) >= findlen &&
- g_strncasecmp(rec->cmd, data, findlen) == 0) {
+ g_ascii_strncasecmp(rec->cmd, data, findlen) == 0) {
if (rec->cmd[findlen] == '\0') {
fullmatch = TRUE;
found = TRUE;