Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2019-05-30 23:02:27 +01:00
5 changed files with 5 additions and 6 deletions

View File

@ -1137,7 +1137,7 @@ window_pane_reset_mode(struct window_pane *wp)
} else {
log_debug("%s: next mode is %s", __func__, next->mode->name);
wp->screen = next->screen;
if (next != NULL && next->mode->resize != NULL)
if (next->mode->resize != NULL)
next->mode->resize(next, wp->sx, wp->sy);
}
wp->flags |= (PANE_REDRAW|PANE_CHANGED);