mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
fix(ops.c): remove duplicate u_save_cursor()
This commit is contained in:
parent
2bdd8fad4c
commit
92c59c39c3
@ -1286,7 +1286,6 @@ int insert_reg(int regname, bool literally_arg)
|
||||
Direction dir = BACKWARD;
|
||||
if ((State & REPLACE_FLAG) != 0) {
|
||||
pos_T curpos;
|
||||
u_save_cursor();
|
||||
if (u_save_cursor() == FAIL) {
|
||||
return FAIL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user