mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0045
This commit is contained in:
@@ -6121,8 +6121,11 @@ ins_reg()
|
||||
im_set_active(TRUE);
|
||||
# endif
|
||||
}
|
||||
if (regname == NUL)
|
||||
if (regname == NUL || !valid_yank_reg(regname, FALSE))
|
||||
{
|
||||
vim_beep();
|
||||
need_redraw = TRUE; /* remove the '"' */
|
||||
}
|
||||
else
|
||||
{
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user