Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2023-07-10 12:01:12 +01:00
8 changed files with 73 additions and 29 deletions

View File

@ -1902,7 +1902,7 @@ static void *
format_cb_pane_last(struct format_tree *ft)
{
if (ft->wp != NULL) {
if (ft->wp == ft->wp->window->last)
if (ft->wp == TAILQ_FIRST(&ft->wp->window->last_panes))
return (xstrdup("1"));
return (xstrdup("0"));
}