mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
ops.c: eliminate static variable y_current
This variable isn't stateful, and should be passed around instead. Helped-By: Scott Prager <splinterofchaos@gmail.com> Helped-By: Michael Reed <m.reed@mykolab.com>
This commit is contained in:
@@ -1541,7 +1541,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
|
||||
CancelRedo();
|
||||
}
|
||||
} else
|
||||
(void)op_yank(oap, false, !gui_yank);
|
||||
(void)op_yank(oap, !gui_yank);
|
||||
check_cursor_col();
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user