From 0acd6a362b41e985e864a92e9bee8ab3fbd9adf2 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 11 Dec 2015 12:27:37 +0000 Subject: Add cmdq as an argument to format_create and add a format for the command name (will also be used for more later). --- usr.bin/tmux/cmd-list-buffers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/cmd-list-buffers.c') diff --git a/usr.bin/tmux/cmd-list-buffers.c b/usr.bin/tmux/cmd-list-buffers.c index faa1a072ff9..843e0aaddf3 100644 --- a/usr.bin/tmux/cmd-list-buffers.c +++ b/usr.bin/tmux/cmd-list-buffers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-list-buffers.c,v 1.27 2015/12/08 08:34:18 nicm Exp $ */ +/* $OpenBSD: cmd-list-buffers.c,v 1.28 2015/12/11 12:27:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -54,7 +54,7 @@ cmd_list_buffers_exec(struct cmd *self, struct cmd_q *cmdq) pb = NULL; while ((pb = paste_walk(pb)) != NULL) { - ft = format_create(0); + ft = format_create(cmdq, 0); format_defaults_paste_buffer(ft, pb); line = format_expand(ft, template); -- cgit v1.2.3