diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-01-26 11:43:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-01-26 11:43:09 +0100 |
commit | 53748fcb7b3199b11eb10fe9620973be5afe427d (patch) | |
tree | 0d6c72118b1e0a682237ea95593aaa8990e5b1b3 /src | |
parent | 33c1b198c647703e2b7ce003ecb113a68ee716da (diff) |
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')
-rw-r--r-- | src/normal.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 6bf547016b..a6cd2d6b29 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 9294728f77..da0edeb3d9 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, |