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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/normal.c') 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 -- cgit v1.2.1