summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-03-20 23:20:08 +0000
committernicm <nicm@openbsd.org>2012-03-20 23:20:08 +0000
commitd4970bd4a3c9d84340096c5c16ac83c193e05e43 (patch)
tree513bf3f535bb83b27fcd14b2e7f802e92d0411cf
parentAdd ioctl to write to hypervisor memory. (diff)
downloadwireguard-openbsd-d4970bd4a3c9d84340096c5c16ac83c193e05e43.tar.xz
wireguard-openbsd-d4970bd4a3c9d84340096c5c16ac83c193e05e43.zip
Remove a stale comment.
-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))