diff options
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index de1666cc5e..eac4803147 100644 --- a/src/edit.c +++ b/src/edit.c @@ -728,7 +728,7 @@ edit( (int)curwin->w_wcol < mincol - curbuf->b_p_ts #endif && curwin->w_wrow == W_WINROW(curwin) - + curwin->w_height - 1 - p_so + + curwin->w_height - 1 - get_scrolloff_value() && (curwin->w_cursor.lnum != curwin->w_topline #ifdef FEAT_DIFF || curwin->w_topfill > 0 |