diff options
author | nicm <nicm> | 2019-12-17 11:43:23 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-12-17 11:43:23 +0000 |
commit | f8cb759bdbf767348dba1ae841a86f2bdafe3f25 (patch) | |
tree | 57f9162e92dba6c5c0814d927b1da392e751faa5 /cmd-queue.c | |
parent | 1bdd4828bd0a13d6fb81c903078ad99ff2429b5d (diff) | |
download | rtmux-f8cb759bdbf767348dba1ae841a86f2bdafe3f25.tar.gz rtmux-f8cb759bdbf767348dba1ae841a86f2bdafe3f25.tar.bz2 rtmux-f8cb759bdbf767348dba1ae841a86f2bdafe3f25.zip |
Use the message that has already been built rather than the va_list.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index 6019ab51..69e4f6b2 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -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); |