aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan2015-06-30 19:02:24 +0000
committerokan2015-06-30 19:02:24 +0000
commit8b687bf04b3412df21ad38e31d0ad54e983b5114 (patch)
treec89c1e74b60e7ae217b9b3751b53d9eb539d08da /kbfunc.c
parent71d55b5fbd537c425ecee3649e183818b220d5ef (diff)
downloadcwm-8b687bf04b3412df21ad38e31d0ad54e983b5114.tar.gz
no longer need to pass down format strings after introducing search_print_cmd
Diffstat (limited to '')
-rw-r--r--kbfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 872af3a..ccdd1c2 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -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.110 2015/06/30 18:54:12 okan Exp $
+ * $OpenBSD: kbfunc.c,v 1.111 2015/06/30 19:02:24 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, "%s", cmd->name);
+ menuq_add(&menuq, cmd, NULL);
if ((mi = menu_filter(sc, &menuq, "application", NULL, 0,
search_match_text, search_print_cmd)) != NULL)