diff options
Diffstat (limited to 'src/move.c')
-rw-r--r-- | src/move.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/move.c b/src/move.c index d969de2fc..93c101b79 100644 --- a/src/move.c +++ b/src/move.c @@ -1960,12 +1960,14 @@ adjust_skipcol(void) curwin->w_skipcol -= width2; else curwin->w_skipcol -= width1; - redraw_later(UPD_NOT_VALID); scrolled = TRUE; - validate_virtcol(); } if (scrolled) + { + validate_virtcol(); + redraw_later(UPD_NOT_VALID); return; // don't scroll in the other direction now + } int col = curwin->w_virtcol - curwin->w_skipcol + scrolloff_cols; int row = 0; |