diff options
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index b4f8c1d826..fca0eea329 100644 --- a/src/window.c +++ b/src/window.c @@ -6371,8 +6371,8 @@ scroll_to_fraction(win_T *wp, int prev_height) // - window height is sufficient to display the whole buffer and first line // is visible. if (height > 0 - && (!wp->w_p_scb || wp == curwin) - && (height < wp->w_buffer->b_ml.ml_line_count || wp->w_topline > 1)) + && (!wp->w_p_scb || wp == curwin) + && (height < wp->w_buffer->b_ml.ml_line_count || wp->w_topline > 1)) { /* * Find a value for w_topline that shows the cursor at the same |