Merge #8526 from janlazo/vim-8.0.0451

This commit is contained in:
Justin M. Keyes
2018-06-16 11:55:40 +02:00
committed by GitHub
35 changed files with 431 additions and 347 deletions

View File

@@ -526,7 +526,7 @@ static colnr_T scroll_line_len(linenr_T lnum)
if (*line != NUL) {
for (;;) {
int numchar = chartabsize(line, col);
mb_ptr_adv(line);
MB_PTR_ADV(line);
if (*line == NUL) { // don't count the last character
break;
}