From 70cc8f2c7ee4789e2516a275d2c9494ad03c4d7f Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 31 May 2017 16:44:33 +0000 Subject: Shut up a warning. --- cmd-find-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-find-window.c') diff --git a/cmd-find-window.c b/cmd-find-window.c index 92714498..22a54195 100644 --- a/cmd-find-window.c +++ b/cmd-find-window.c @@ -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); -- cgit v1.2.3