diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-10 20:08:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-10 20:08:03 +0100 |
commit | e1edc1caba05c553fa60b1cf45a7670b1cfd63fe (patch) | |
tree | 33d1a99276d9b5bd5693421aa1b4d8e07d5270da /src/normal.c | |
parent | 4514d2769b05faf6edcca42c3ab3d42da84270f1 (diff) | |
download | vim-git-e1edc1caba05c553fa60b1cf45a7670b1cfd63fe.tar.gz |
patch 7.4.1084v7.4.1084
Problem: Using "." to repeat CTRL-A in Visual mode increments the wrong
numbers.
Solution: Append right size to the redo buffer. (Ozaki Kiichi)
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 640c0603e..d513f7516 100644 --- a/src/normal.c +++ b/src/normal.c @@ -3632,7 +3632,7 @@ prep_redo_visual(cap) else if (curbuf->b_visual.vi_end.col > curbuf->b_visual.vi_start.col) { AppendNumberToRedobuff(curbuf->b_visual.vi_end.col - - curbuf->b_visual.vi_start.col - 1); + - curbuf->b_visual.vi_start.col); AppendCharToRedobuff(' '); } } |