summaryrefslogtreecommitdiffstats
path: root/src/move.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-08 20:22:40 +0200
committerChristian Brabandt <cb@256bit.org>2024-05-08 20:22:40 +0200
commitc7a8eb5ff2ddd919e6f39faec93d81c52874695a (patch)
tree5d0eb6f422022642697fa5a181b299b8b9fe2b63 /src/move.c
parent6a4ea471d28107c4078e106ace1bdc0c54bf946b (diff)
patch 9.1.0397: Wrong display with 'smoothscroll' when changing quickfix listv9.1.0397
Problem: Wrong display with 'smoothscroll' when changing quickfix list. Solution: Reset w_skipcol when replacing quickfix list (zeertzjq). closes: #14730 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/move.c b/src/move.c
index 9bdd46f2cd..6790192ab5 100644
--- a/src/move.c
+++ b/src/move.c
@@ -319,6 +319,7 @@ update_topline(void)
redraw_later(UPD_NOT_VALID);
curwin->w_topline = 1;
curwin->w_botline = 2;
+ curwin->w_skipcol = 0;
curwin->w_valid |= VALID_BOTLINE|VALID_BOTLINE_AP;
curwin->w_scbind_pos = 1;
}