summaryrefslogtreecommitdiffstats
path: root/cmd-split-window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-08 10:01:16 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-08 10:01:16 +0000
commitaf8134a6ffe8304b6cb1849995f446eab8e53b53 (patch)
tree02ada102c67552ff8e9f1ef3c88a096460dd0aaa /cmd-split-window.c
parenta988c36ccb7d411d995edfa9dbdb7682295d62a0 (diff)
parente0f26dcda36dc35741da6047a11efb853b3137d9 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r--cmd-split-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c
index d5b3e775..35a80270 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -87,7 +87,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_q *cmdq)
to_free = NULL;
if (args_has(args, 'c')) {
- ft = format_create();
+ ft = format_create(0);
format_defaults(ft, cmd_find_client(cmdq, NULL, 1), s, NULL,
NULL);
to_free = cwd = format_expand(ft, args_get(args, 'c'));
@@ -164,7 +164,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_q *cmdq)
if ((template = args_get(args, 'F')) == NULL)
template = SPLIT_WINDOW_TEMPLATE;
- ft = format_create();
+ ft = format_create(0);
format_defaults(ft, cmd_find_client(cmdq, NULL, 1), s, wl,
new_wp);