]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.411 v7.3.411
authorBram Moolenaar <Bram@vim.org>
Thu, 26 Jan 2012 10:43:09 +0000 (11:43 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 26 Jan 2012 10:43:09 +0000 (11:43 +0100)
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)

src/normal.c
src/version.c

index 6bf547016b74bc5c7a7b62e227924352c7495fac..a6cd2d6b298269f8e1ac0a4d38a3abf2db75a067 100644 (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
index 9294728f7780d52fab4b174ae47516b4f8ee01da..da0edeb3d9413c48afc62c4d7a2abb5ef3fa9c36 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    411,
 /**/
     410,
 /**/