mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Use the message that has already been built rather than the va_list.
This commit is contained in:
parent
1bdd4828bd
commit
f8cb759bdb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user