summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-01-26 11:43:09 +0100
committerBram Moolenaar <Bram@vim.org>2012-01-26 11:43:09 +0100
commit53748fcb7b3199b11eb10fe9620973be5afe427d (patch)
tree0d6c72118b1e0a682237ea95593aaa8990e5b1b3 /src/normal.c
parent33c1b198c647703e2b7ce003ecb113a68ee716da (diff)
downloadvim-git-7.3.411.tar.gz
updated for version 7.3.411v7.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)
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
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(&regname);
# endif
- if (regname == 0 || VIM_ISDIGIT(regname)
+ if (regname == 0 || regname == '"' || VIM_ISDIGIT(regname)
# ifdef FEAT_CLIPBOARD
|| (clip_unnamed && (regname == '*' || regname == '+'))
# endif