mirror of
https://github.com/tmux/tmux.git
synced 2024-11-13 23:58:51 +00:00
Sync OpenBSD patchset 1076:
Remove a stale comment.
This commit is contained in:
parent
65748fb197
commit
8121b541e0
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user