summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2017-05-31 16:44:34 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2017-05-31 16:44:34 +0000
commit003ea93f5c20e51113b91332dbd286efdf22fc98 (patch)
tree9f87bc321ace34c02cddadc1d2a5a9701aa71028 /usr.bin/tmux
parent242aec8d7ba973dd1fb918828dff19ee630cd4de (diff)
Shut up a warning.
Diffstat (limited to 'usr.bin/tmux')
-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 8809b5582c6..52a80fd16b6 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.43 2017/05/30 21:44:59 nicm Exp $ */
+/* $OpenBSD: cmd-find-window.c,v 1.44 2017/05/31 16:44:33 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -79,7 +79,7 @@ cmd_find_window_exec(struct cmd *self, struct cmdq_item *item)
xasprintf(&filter, "#{C:%s}", s);
else if (N)
xasprintf(&filter, "#{m:*%s*,#{window_name}}", s);
- else if (T)
+ else
xasprintf(&filter, "#{m:*%s*,#{pane_title}}", s);
new_args = args_parse("", 1, &argv);