diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-02 20:30:35 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-02 20:30:35 +0200 |
commit | e2e69e48134cbfdedea7802810932f8592705024 (patch) | |
tree | 5de70fd649143a4e94584ef3a648b1877900b02f /src/screen.c | |
parent | 3653822546fb0f1005c32bb5b70dc9bfacdfc954 (diff) | |
download | vim-git-e2e69e48134cbfdedea7802810932f8592705024.tar.gz |
patch 8.0.1041: bogus characters when indenting during visual-block appendv8.0.1041
Problem: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index ca7b65836..e0d4af8fc 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3463,7 +3463,7 @@ win_line( { /* For checking first word with a capital skip white space. */ if (cap_col == 0) - cap_col = (int)(skipwhite(line) - line); + cap_col = getwhitecols(line); /* To be able to spell-check over line boundaries copy the end of the * current line into nextline[]. Above the start of the next line was |