summaryrefslogtreecommitdiff
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
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)
-rw-r--r--src/normal.c2
-rw-r--r--src/version.c2
2 files changed, 3 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
diff --git a/src/version.c b/src/version.c
index 9294728f7..da0edeb3d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 411,
+/**/
410,
/**/
409,