summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-06 10:43:36 +0100
committerChristian Brabandt <cb@256bit.org>2024-02-06 10:43:36 +0100
commit3f1b5312e0fa0089f255bf9c0c3b27590552119e (patch)
tree0afd6d3931b392dea02d2229af6491b5215b2363 /src/proto
parent0f4054feb66ea55414f97add63b3070d7d7b5295 (diff)
patch 9.1.0077: Unnecessary call to redraw_for_cursorline() in nv_mousescroll()v9.1.0077
Problem: The call to redraw_for_cursorline() in nv_mousescroll() is unnecessary because redraw_for_cursorline() only sets redraw type to UPD_VALID, and all code paths in do_mousescroll() already set redraw type to at least UPD_VALID. Solution: Remove call to redraw_for_cursorline() in nv_mousescroll(). (zeertzjq) closes: #13979 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/move.pro1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/proto/move.pro b/src/proto/move.pro
index b96b86d0fa..bc9c025635 100644
--- a/src/proto/move.pro
+++ b/src/proto/move.pro
@@ -1,6 +1,5 @@
/* move.c */
int adjust_plines_for_skipcol(win_T *wp);
-void redraw_for_cursorline(win_T *wp);
int sms_marker_overlap(win_T *wp, int extra2);
void update_topline_redraw(void);
void update_topline(void);