diff options
author | okan | 2015-07-03 17:11:16 +0000 |
---|---|---|
committer | okan | 2015-07-03 17:11:16 +0000 |
commit | 3aa18776bc94653a1035dadc354dbeeea8f399de (patch) | |
tree | 18916205af5019d354cde811f1c9dd8d247c6ea4 /kbfunc.c | |
parent | 066f93f7719e2667a64ac983db612410d7d55916 (diff) | |
download | cwm-3aa18776bc94653a1035dadc354dbeeea8f399de.tar.gz |
revert previous; seems search_match_text() needs mi->text pre-populated.
(only used in one place, application menu searching); re-visit later.
broken application menu searching reported by Peter Kane.
Diffstat (limited to '')
-rw-r--r-- | kbfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.111 2015/06/30 19:02:24 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.112 2015/07/03 17:11:16 okan Exp $ */ #include <sys/types.h> @@ -178,7 +178,7 @@ kbfunc_menu_cmd(struct client_ctx *cc, union arg *arg) TAILQ_INIT(&menuq); TAILQ_FOREACH(cmd, &Conf.cmdq, entry) - menuq_add(&menuq, cmd, NULL); + menuq_add(&menuq, cmd, "%s", cmd->name); if ((mi = menu_filter(sc, &menuq, "application", NULL, 0, search_match_text, search_print_cmd)) != NULL) |