summary refs log tree commit diff
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan <okan>2015-06-30 19:02:24 +0000
committerokan <okan>2015-06-30 19:02:24 +0000
commit8efaf33cfbced84ff073f5c4d3b2c8e9d7b3bff4 (patch)
treed66c762965c1dc74e69f71cd41b25b5fe111b31f /kbfunc.c
parent5d8027b75d20174446aa3788f856280aae7dd622 (diff)
downloadcwm-8efaf33cfbced84ff073f5c4d3b2c8e9d7b3bff4.tar.gz
cwm-8efaf33cfbced84ff073f5c4d3b2c8e9d7b3bff4.tar.xz
cwm-8efaf33cfbced84ff073f5c4d3b2c8e9d7b3bff4.zip
no longer need to pass down format strings after introducing search_print_cmd
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbfunc.c b/kbfunc.c
index a107b95..74db167 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, "%s", cmd->name);
+		menuq_add(&menuq, cmd, NULL);
 
 	if ((mi = menu_filter(sc, &menuq, "application", NULL, 0,
 	    search_match_text, search_print_cmd)) != NULL)