summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-find-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-08-14 08:51:54 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-08-14 08:51:54 +0000
commitceb0febbf7366d592fd86c245af2aa37825075fc (patch)
tree3cfd5957b6401903bd3622b839febd277896c5f7 /usr.bin/tmux/cmd-find-window.c
parentf42d95ecf548405292b659dbd2074126b0a043d8 (diff)
Use a separate define for each default format template and strip clutter
from the choose-tree defaults.
Diffstat (limited to 'usr.bin/tmux/cmd-find-window.c')
-rw-r--r--usr.bin/tmux/cmd-find-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-find-window.c b/usr.bin/tmux/cmd-find-window.c
index 7bbd5cb7f49..a7a0ddd276c 100644
--- a/usr.bin/tmux/cmd-find-window.c
+++ b/usr.bin/tmux/cmd-find-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-find-window.c,v 1.17 2012/07/11 07:10:15 nicm Exp $ */
+/* $OpenBSD: cmd-find-window.c,v 1.18 2012/08/14 08:51:53 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -98,7 +98,7 @@ cmd_find_window_exec(struct cmd *self, struct cmd_ctx *ctx)
return (CMD_RETURN_ERROR);
if ((template = args_get(args, 'F')) == NULL)
- template = DEFAULT_FIND_WINDOW_TEMPLATE;
+ template = FIND_WINDOW_TEMPLATE;
match_flags = cmd_find_window_match_flags(args);
str = args->argv[0];