summaryrefslogtreecommitdiffstats
path: root/cmd-find-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-20 23:20:08 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-20 23:20:08 +0000
commitb1e4b8769b2edc414194ede0fde31f0175ae8a6b (patch)
treef9d8b0da20010711a41941c570dbefee4a35ef55 /cmd-find-window.c
parent90bf560fe4e0fa60bdeaa5c6ecd62187a58f118d (diff)
Remove a stale comment.
Diffstat (limited to 'cmd-find-window.c')
-rw-r--r--cmd-find-window.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd-find-window.c b/cmd-find-window.c
index bba1398f..e1d5536f 100644
--- a/cmd-find-window.c
+++ b/cmd-find-window.c
@@ -123,12 +123,6 @@ cmd_find_window_exec(struct cmd *self, struct cmd_ctx *ctx)
wp, str, &line);
}
- /*
- * If match_title isn't set we don't want to
- * bother checking the title, but that also
- * constitutes a failure to match so we still
- * want to abort.
- */
if (sres == NULL &&
(!(match_flags & CMD_FIND_WINDOW_BY_TITLE) ||
fnmatch(searchstr, wp->base.title, 0) != 0))