From 53748fcb7b3199b11eb10fe9620973be5afe427d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 26 Jan 2012 11:43:09 +0100 Subject: 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) --- src/normal.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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, /**/ -- cgit v1.2.1