diff options
author | okan <okan> | 2015-06-30 19:02:24 +0000 |
---|---|---|
committer | okan <okan> | 2015-06-30 19:02:24 +0000 |
commit | 8efaf33cfbced84ff073f5c4d3b2c8e9d7b3bff4 (patch) | |
tree | d66c762965c1dc74e69f71cd41b25b5fe111b31f | |
parent | 5d8027b75d20174446aa3788f856280aae7dd622 (diff) | |
download | cwm-8efaf33cfbced84ff073f5c4d3b2c8e9d7b3bff4.tar.gz cwm-8efaf33cfbced84ff073f5c4d3b2c8e9d7b3bff4.tar.xz cwm-8efaf33cfbced84ff073f5c4d3b2c8e9d7b3bff4.zip |
no longer need to pass down format strings after introducing search_print_cmd
-rw-r--r-- | kbfunc.c | 2 | ||||
-rw-r--r-- | mousefunc.c | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/mousefunc.c b/mousefunc.c index bc31118..d709a3f 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -236,7 +236,7 @@ mousefunc_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, NULL, NULL, CWM_MENU_LIST, NULL, search_print_cmd)) != NULL) |