mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00:00
Merge #8526 from janlazo/vim-8.0.0451
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user