Lost fix from r1.112; add comment.

Reported (again!) by Peter Kane.
This commit is contained in:
okan 2015-08-28 12:07:28 +00:00
parent 28d4001eca
commit 47a10cc055

View File

@ -181,7 +181,8 @@ kbfunc_menu_cmd(struct client_ctx *cc, union arg *arg)
if ((strcmp(cmd->name, "lock") == 0) ||
(strcmp(cmd->name, "term") == 0))
continue;
menuq_add(&menuq, cmd, NULL);
/* search_match_text() needs mi->text */
menuq_add(&menuq, cmd, "%s", cmd->name);
}
if ((mi = menu_filter(sc, &menuq, "application", NULL, 0,