diff options
author | okan <okan> | 2015-07-03 17:11:16 +0000 |
---|---|---|
committer | okan <okan> | 2015-07-03 17:11:16 +0000 |
commit | 02779e64b89267cc78b21114642391411adc897e (patch) | |
tree | bc701b9e955978cf58d5ddec5fe78ca12254e167 | |
parent | cb900def7f4da5216d567a27a04429d3dac85ae8 (diff) | |
download | cwm-02779e64b89267cc78b21114642391411adc897e.tar.gz cwm-02779e64b89267cc78b21114642391411adc897e.tar.xz cwm-02779e64b89267cc78b21114642391411adc897e.zip |
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.
-rw-r--r-- | kbfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbfunc.c b/kbfunc.c index 74db167..a107b95 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -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) |