1
0
forked from aniani/vim

updated for version 7.0024

This commit is contained in:
Bram Moolenaar
2004-12-24 14:35:23 +00:00
parent 1cd871b534
commit b5bf5b8fae
43 changed files with 887 additions and 311 deletions

View File

@@ -816,11 +816,8 @@ win_linetabsize(wp, p, len)
colnr_T col = 0;
char_u *s;
for (s = p; *s != NUL && (len == MAXCOL || s < p + len); )
{
for (s = p; *s != NUL && (len == MAXCOL || s < p + len); mb_ptr_adv(s))
col += win_lbr_chartabsize(wp, s, col, NULL);
mb_ptr_adv(s);
}
return (int)col;
}