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-session.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-session.c')
-rw-r--r-- | cmd-new-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c index a39522ac..4e7b413b 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -139,7 +139,7 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item) /* Get the new session working directory. */ if (args_has(args, 'c')) { - ft = format_create(item, 0); + ft = format_create(item, FORMAT_NONE, 0); format_defaults(ft, c, NULL, NULL, NULL); to_free = cwd = format_expand(ft, args_get(args, 'c')); format_free(ft); @@ -298,7 +298,7 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item) if ((template = args_get(args, 'F')) == NULL) template = NEW_SESSION_TEMPLATE; - ft = format_create(item, 0); + ft = format_create(item, FORMAT_NONE, 0); format_defaults(ft, c, s, NULL, NULL); cp = format_expand(ft, template); |