patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
diff --git a/src/move.c b/src/move.c
index 64b1296..b8e8780 100644
--- a/src/move.c
+++ b/src/move.c
@@ -1152,7 +1152,7 @@
}
else if (extra == 1)
{
- // less then 'scrolloff' lines above, decrease skipcol
+ // less than 'scrolloff' lines above, decrease skipcol
extra = (curwin->w_skipcol + so * width - curwin->w_virtcol
+ width - 1) / width;
if (extra > 0)
@@ -1164,7 +1164,7 @@
}
else if (extra == 2)
{
- // less then 'scrolloff' lines below, increase skipcol
+ // less than 'scrolloff' lines below, increase skipcol
endcol = (n - curwin->w_height + 1) * width;
while (endcol > curwin->w_virtcol)
endcol -= width;