diff options
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 1eb73d85d7..8f74129c79 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -2478,7 +2478,7 @@ static void u_undoredo(int undo, bool do_buf_event) if (curhead->uh_cursor.lnum == curwin->w_cursor.lnum) { curwin->w_cursor.col = curhead->uh_cursor.col; if (virtual_active() && curhead->uh_cursor_vcol >= 0) { - coladvance((colnr_T)curhead->uh_cursor_vcol); + coladvance(curhead->uh_cursor_vcol); } else { curwin->w_cursor.coladd = 0; } |