diff options
author | nicm <nicm> | 2019-06-26 18:44:22 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-06-26 18:44:22 +0000 |
commit | 3a6d90adadfcd4aa6b513df7f8ae5c4dcc05a6dc (patch) | |
tree | 4012d3286d05236f68246f12fa948b649e4762dd /layout.c | |
parent | 87ea14328ce60fdfb8bd0aef15b7e3b3bdccb1ed (diff) | |
download | rtmux-3a6d90adadfcd4aa6b513df7f8ae5c4dcc05a6dc.tar.gz rtmux-3a6d90adadfcd4aa6b513df7f8ae5c4dcc05a6dc.tar.bz2 rtmux-3a6d90adadfcd4aa6b513df7f8ae5c4dcc05a6dc.zip |
Fix a typo in window_pane_find_down (w not wp) and a missing PANE_STATUS_TOP.
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -272,7 +272,7 @@ layout_fix_panes(struct window *w) wp->xoff = lc->xoff; wp->yoff = lc->yoff; - if (shift && status == 1) + if (shift && status == PANE_STATUS_TOP) wp->yoff += 1; window_pane_resize(wp, lc->sx, lc->sy - shift); @@ -1021,7 +1021,7 @@ layout_spread_cell(struct window *w, struct layout_cell *parent) number = 0; TAILQ_FOREACH (lc, &parent->cells, entry) - number++; + number++; if (number <= 1) return (0); status = options_get_number(w->options, "pane-border-status"); |