mirror of
https://github.com/neovim/neovim.git
synced 2025-12-11 09:02:40 +00:00
vim-patch:7.4.2362
Problem: Illegal memory access with ":1@". (Dominique Pelle)
Solution: Correct cursor column after setting the line number. Also avoid
calling end_visual_mode() when not in Visual mode.
4930a76a03
This commit is contained in:
@@ -7325,6 +7325,7 @@ static void ex_at(exarg_T *eap)
|
||||
int prev_len = typebuf.tb_len;
|
||||
|
||||
curwin->w_cursor.lnum = eap->line2;
|
||||
check_cursor_col();
|
||||
|
||||
// Get the register name. No name means use the previous one.
|
||||
int c = *eap->arg;
|
||||
|
||||
Reference in New Issue
Block a user