diff src/move.c @ 29239:da56650de132 v8.2.5138

patch 8.2.5138: various small issues Commit: https://github.com/vim/vim/commit/8088ae95bbed2085c5fb196850c4e4b8df55c989 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 20 11:38:17 2022 +0100 patch 8.2.5138: various small issues Problem: Various small issues. Solution: Various small improvments.
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Jun 2022 12:45:03 +0200
parents 755ab148288b
children 281509f1417b
line wrap: on
line diff
--- 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!!!
  */