From: Bram Moolenaar Date: Thu, 26 Jan 2012 10:43:09 +0000 (+0100) Subject: updated for version 7.3.411 X-Git-Tag: v7.3.411 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53748fcb7b3199b11eb10fe9620973be5afe427d;p=vim 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) --- diff --git a/src/normal.c b/src/normal.c index 6bf547016..a6cd2d6b2 100644 --- a/src/normal.c +++ b/src/normal.c @@ -9329,7 +9329,7 @@ nv_put(cap) # ifdef FEAT_CLIPBOARD adjust_clip_reg(®name); # endif - if (regname == 0 || VIM_ISDIGIT(regname) + if (regname == 0 || regname == '"' || VIM_ISDIGIT(regname) # ifdef FEAT_CLIPBOARD || (clip_unnamed && (regname == '*' || regname == '+')) # endif diff --git a/src/version.c b/src/version.c index 9294728f7..da0edeb3d 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 411, /**/ 410, /**/