summaryrefslogtreecommitdiffstats
path: root/cmd-break-pane.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-11 12:27:36 +0000
committernicm <nicm>2015-12-11 12:27:36 +0000
commit01831da5f5dd2a1b7622ad421a757cacedbdfc59 (patch)
treec366c7371b12b5633c551cb9862cb9068bff93c6 /cmd-break-pane.c
parente0f26dcda36dc35741da6047a11efb853b3137d9 (diff)
Add cmdq as an argument to format_create and add a format for the
command name (will also be used for more later).
Diffstat (limited to 'cmd-break-pane.c')
-rw-r--r--cmd-break-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-break-pane.c b/cmd-break-pane.c
index 75ae9044..98d6ad3d 100644
--- a/cmd-break-pane.c
+++ b/cmd-break-pane.c
@@ -101,7 +101,7 @@ cmd_break_pane_exec(struct cmd *self, struct cmd_q *cmdq)
if ((template = args_get(args, 'F')) == NULL)
template = BREAK_PANE_TEMPLATE;
- ft = format_create(0);
+ ft = format_create(cmdq, 0);
format_defaults(ft, cmd_find_client(cmdq, NULL, 1), dst_s, wl,
wp);