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-new-window.c | |
parent | 9b1f620aa017bb3634b3806e959580cde75ec655 (diff) | |
parent | 7d23d019c0df197d724ced7fec21dc2047634c9b (diff) | |
download | rtmux-6c333cc4864c11283704b069fa6477876fd48f70.tar.gz rtmux-6c333cc4864c11283704b069fa6477876fd48f70.tar.bz2 rtmux-6c333cc4864c11283704b069fa6477876fd48f70.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r-- | cmd-new-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c index 2e032c40..082b7443 100644 --- a/cmd-new-window.c +++ b/cmd-new-window.c @@ -95,7 +95,7 @@ cmd_new_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, c, s, NULL, NULL); cwd = to_free = format_expand(ft, args_get(args, 'c')); format_free(ft); @@ -143,7 +143,7 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item) if ((template = args_get(args, 'F')) == NULL) template = NEW_WINDOW_TEMPLATE; - ft = format_create(item, 0); + ft = format_create(item, FORMAT_NONE, 0); format_defaults(ft, c, s, wl, NULL); cp = format_expand(ft, template); |