diff options
author | nicm <nicm> | 2015-12-08 08:34:18 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-12-08 08:34:18 +0000 |
commit | e0f26dcda36dc35741da6047a11efb853b3137d9 (patch) | |
tree | f7ad82e959d7b16ea05a2494f040002def520dc1 /cmd-split-window.c | |
parent | 8f671d3eefa0af67b9e753eeae032e3ded6ffd00 (diff) | |
download | rtmux-e0f26dcda36dc35741da6047a11efb853b3137d9.tar.gz rtmux-e0f26dcda36dc35741da6047a11efb853b3137d9.tar.bz2 rtmux-e0f26dcda36dc35741da6047a11efb853b3137d9.zip |
Remove format_create_flags and just pass flags to format_create.
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 fb766d3b..859e1559 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -88,7 +88,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')); @@ -165,7 +165,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); |