1
0
mirror of https://github.com/tmux/tmux.git synced 2025-04-06 16:18:48 +00:00

remove the return because otherwise if there is only one wp it still needs to continue

This commit is contained in:
Michael Grant 2025-03-20 20:41:40 -03:00
parent 8c2005df09
commit bd4ac0caa6

View File

@ -373,7 +373,6 @@ window_tree_build_window(struct session *s, struct winlink *wl,
if (TAILQ_NEXT(wp, entry) == NULL) { if (TAILQ_NEXT(wp, entry) == NULL) {
if (!window_tree_filter_pane(s, wl, wp, filter)) if (!window_tree_filter_pane(s, wl, wp, filter))
goto empty; goto empty;
return (1);
} }
l = NULL; l = NULL;