summaryrefslogtreecommitdiffstats
path: root/cmd-new-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-08-14 08:51:53 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-08-14 08:51:53 +0000
commit73c678553809956f428fec9db3210a5576d5883f (patch)
tree576d926080da3b1404e05ada18435e6ea062a98e /cmd-new-window.c
parent6804d5841e53a38e2d4a8d574bcece384efa9499 (diff)
Use a separate define for each default format template and strip clutter
from the choose-tree defaults.
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r--cmd-new-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c
index 28dd2358..1d9a1e66 100644
--- a/cmd-new-window.c
+++ b/cmd-new-window.c
@@ -123,7 +123,7 @@ cmd_new_window_exec(struct cmd *self, struct cmd_ctx *ctx)
if (args_has(args, 'P')) {
if ((template = args_get(args, 'F')) == NULL)
- template = DEFAULT_PANE_INFO_TEMPLATE;
+ template = NEW_WINDOW_TEMPLATE;
ft = format_create();
if ((c = cmd_find_client(ctx, NULL)) != NULL)