diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-12-11 13:24:45 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-12-11 13:24:45 +0000 |
commit | 4909a7017494f7483cfd2180913ad78f87bc9d62 (patch) | |
tree | 1e607e3a0d6d1f8872bae01fc8941aaaab1a2108 /cmd-split-window.c | |
parent | af8134a6ffe8304b6cb1849995f446eab8e53b53 (diff) | |
parent | d7e11d0af78bacc7722998509ac93be7fcffc7b4 (diff) | |
download | rtmux-4909a7017494f7483cfd2180913ad78f87bc9d62.tar.gz rtmux-4909a7017494f7483cfd2180913ad78f87bc9d62.tar.bz2 rtmux-4909a7017494f7483cfd2180913ad78f87bc9d62.zip |
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 35a80270..8d5f1379 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(0); + ft = format_create(cmdq, 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(0); + ft = format_create(cmdq, 0); format_defaults(ft, cmd_find_client(cmdq, NULL, 1), s, wl, new_wp); |