diff options
Diffstat (limited to 'src/move.c')
-rw-r--r-- | src/move.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/move.c b/src/move.c index 64b12963c6..b8e8780aa5 100644 --- a/src/move.c +++ b/src/move.c @@ -1152,7 +1152,7 @@ curs_columns( } 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 @@ curs_columns( } 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; |