diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-02-03 14:01:13 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-02-03 14:01:13 +0000 |
commit | 6c333cc4864c11283704b069fa6477876fd48f70 (patch) | |
tree | 97f9033c539139408a55c59c0580d1321af0fb64 /cmd-split-window.c | |
parent | 9b1f620aa017bb3634b3806e959580cde75ec655 (diff) | |
parent | 7d23d019c0df197d724ced7fec21dc2047634c9b (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r-- | cmd-split-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c index 213770c4..ee6c583b 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -91,7 +91,7 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item) to_free = NULL; if (args_has(args, 'c')) { - ft = format_create(item, 0); + ft = format_create(item, FORMAT_NONE, 0); format_defaults(ft, item->state.c, s, NULL, NULL); to_free = cwd = format_expand(ft, args_get(args, 'c')); format_free(ft); @@ -168,7 +168,7 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item) if ((template = args_get(args, 'F')) == NULL) template = SPLIT_WINDOW_TEMPLATE; - ft = format_create(item, 0); + ft = format_create(item, FORMAT_NONE, 0); format_defaults(ft, item->state.c, s, wl, new_wp); cp = format_expand(ft, template); |