patch 8.2.5138: various small issues
Problem: Various small issues.
Solution: Various small improvments.
diff --git a/src/move.c b/src/move.c
index 5865af8..c2e2712 100644
--- a/src/move.c
+++ b/src/move.c
@@ -315,7 +315,7 @@
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 @@
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 @@
/*
* 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!!!
*/