summaryrefslogtreecommitdiff
path: root/src/move.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/move.c b/src/move.c
index 404b2350f..14b7a6e7d 100644
--- a/src/move.c
+++ b/src/move.c
@@ -19,7 +19,6 @@
#include "vim.h"
-static void redraw_for_cursorline(win_T *wp);
static int scrolljump_value(void);
static int check_top_offset(void);
static void curs_rows(win_T *wp);
@@ -128,7 +127,7 @@ reset_cursorline(void)
* Redraw when w_cline_row changes and 'relativenumber' or 'cursorline' is
* set.
*/
- static void
+ void
redraw_for_cursorline(win_T *wp)
{
if ((wp->w_p_rnu
@@ -158,7 +157,6 @@ redraw_for_cursorline(win_T *wp)
}
else
redraw_win_later(wp, SOME_VALID);
- wp->w_last_cursorline = wp->w_cursor.lnum;
}
#endif
}