diff options
Diffstat (limited to 'src/move.c')
| -rw-r--r-- | src/move.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/move.c b/src/move.c index 5865af8a5..c2e271203 100644 --- a/src/move.c +++ b/src/move.c @@ -315,7 +315,7 @@ update_topline(void) if (curwin->w_cursor.lnum < curwin->w_botline) { if (((long)curwin->w_cursor.lnum - >= (long)curwin->w_botline - *so_ptr + >= (long)curwin->w_botline - *so_ptr #ifdef FEAT_FOLDING || hasAnyFolding(curwin) #endif @@ -378,7 +378,7 @@ update_topline(void) else #endif line_count = curwin->w_cursor.lnum - curwin->w_botline - + 1 + *so_ptr; + + 1 + *so_ptr; if (line_count <= curwin->w_height + 1) scroll_cursor_bot(scrolljump_value(), FALSE); else @@ -1986,7 +1986,7 @@ set_empty_rows(win_T *wp, int used) /* * Recompute topline to put the cursor at the bottom of the window. - * Scroll at least "min_scroll" lines. + * When scrolling scroll at least "min_scroll" lines. * If "set_topbot" is TRUE, set topline and botline first (for "zb"). * This is messy stuff!!! */ |
