diff options
author | 2019-12-17 11:43:23 +0000 | |
---|---|---|
committer | 2019-12-17 11:43:23 +0000 | |
commit | 09279b25655f042a30983ddfb88e7c9f515f74e2 (patch) | |
tree | 317e0c93370264f6c582591bd991fb4c823bc26d /usr.bin/tmux/cmd-queue.c | |
parent | avoid line wrap in the dkimsign filter line; (diff) | |
download | wireguard-openbsd-09279b25655f042a30983ddfb88e7c9f515f74e2.tar.xz wireguard-openbsd-09279b25655f042a30983ddfb88e7c9f515f74e2.zip |
Use the message that has already been built rather than the va_list.
Diffstat (limited to 'usr.bin/tmux/cmd-queue.c')
-rw-r--r-- | usr.bin/tmux/cmd-queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-queue.c b/usr.bin/tmux/cmd-queue.c index a66894a7811..d03788d6c04 100644 --- a/usr.bin/tmux/cmd-queue.c +++ b/usr.bin/tmux/cmd-queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-queue.c,v 1.76 2019/12/12 11:39:56 nicm Exp $ */ +/* $OpenBSD: cmd-queue.c,v 1.77 2019/12/17 11:43:23 nicm Exp $ */ /* * Copyright (c) 2013 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -512,7 +512,7 @@ cmdq_print(struct cmdq_item *item, const char *fmt, ...) wme = TAILQ_FIRST(&wp->modes); if (wme == NULL || wme->mode != &window_view_mode) window_pane_set_mode(wp, &window_view_mode, NULL, NULL); - window_copy_vadd(wp, fmt, ap); + window_copy_add(wp, "%s", msg); } free(msg); |