Sync OpenBSD patchset 1076:

Remove a stale comment.
This commit is contained in:
Tiago Cunha 2012-03-29 21:08:14 +00:00
parent 65748fb197
commit 8121b541e0

View File

@ -123,12 +123,6 @@ cmd_find_window_exec(struct cmd *self, struct cmd_ctx *ctx)
wp, str, &line); 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 && if (sres == NULL &&
(!(match_flags & CMD_FIND_WINDOW_BY_TITLE) || (!(match_flags & CMD_FIND_WINDOW_BY_TITLE) ||
fnmatch(searchstr, wp->base.title, 0) != 0)) fnmatch(searchstr, wp->base.title, 0) != 0))