summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-03-20 23:20:09 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-03-20 23:20:09 +0000
commitec7606d9f7d62a4f0141a1ff130f90bec7b12502 (patch)
tree4092ac1bf1f7604305ecf05ec219b73f9e2a1548 /usr.bin/tmux
parent2b8167cf71a172b3480f15701488ffeb0ffc995e (diff)
Remove a stale comment.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/cmd-find-window.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/tmux/cmd-find-window.c b/usr.bin/tmux/cmd-find-window.c
index 334d5fe1380..ed2e61bdaf5 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.9 2012/03/20 17:09:48 nicm Exp $ */
+/* $OpenBSD: cmd-find-window.c,v 1.10 2012/03/20 23:20:08 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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))