0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.3.411

Problem:    Pasting in Visual mode using the "" register does not work. (John
            Beckett)
Solution:   Detect that the write is overwriting the pasted register.
            (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2012-01-26 11:43:09 +01:00
parent 33c1b198c6
commit 53748fcb7b
2 changed files with 3 additions and 1 deletions

View File

@@ -9329,7 +9329,7 @@ nv_put(cap)
# ifdef FEAT_CLIPBOARD
adjust_clip_reg(&regname);
# endif
if (regname == 0 || VIM_ISDIGIT(regname)
if (regname == 0 || regname == '"' || VIM_ISDIGIT(regname)
# ifdef FEAT_CLIPBOARD
|| (clip_unnamed && (regname == '*' || regname == '+'))
# endif