aboutsummaryrefslogtreecommitdiff
path: root/cmd-find-window.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-03-29 21:08:14 +0000
committerTiago Cunha <tcunha@gmx.com>2012-03-29 21:08:14 +0000
commit8121b541e0d651cd1c403ae76f1bf87020ad6606 (patch)
treefb10e1c77aaf10167a066488ea81a51d0e2ae903 /cmd-find-window.c
parent65748fb197fc29485aa76d1415d2077269d6015f (diff)
downloadrtmux-8121b541e0d651cd1c403ae76f1bf87020ad6606.tar.gz
rtmux-8121b541e0d651cd1c403ae76f1bf87020ad6606.tar.bz2
rtmux-8121b541e0d651cd1c403ae76f1bf87020ad6606.zip
Sync OpenBSD patchset 1076:
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 de43a704..13e09209 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))