0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0158

This commit is contained in:
Bram Moolenaar
2005-11-23 21:25:05 +00:00
parent af289d333a
commit a5792f5890
90 changed files with 9703 additions and 4368 deletions

View File

@@ -1381,8 +1381,8 @@ getvvcol(wp, pos, start, cursor, end)
if (c != TAB && vim_isprintc(c))
{
endadd = char2cells(c) - 1;
if (coladd >= endadd)
coladd -= endadd;
if (coladd > endadd) /* past end of line */
endadd = 0;
else
coladd = 0;
}