diff --git a/src/fe-common/core/keyboard.c b/src/fe-common/core/keyboard.c index 986ee7bd..fa8ca076 100644 --- a/src/fe-common/core/keyboard.c +++ b/src/fe-common/core/keyboard.c @@ -772,7 +772,7 @@ static void cmd_show_keys(const char *searchkey, int full) if ((len == 0 || (full ? strncmp(rec->key, searchkey, len) == 0 : - g_strrstr(rec->key, searchkey) != NULL)) && + strstr(rec->key, searchkey) != NULL)) && (!full || rec->key[len] == '\0')) { printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_BIND_LIST, rec->key, rec->info->id, rec->data == NULL ? "" : rec->data);