vim-patch:8.1.0806: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Graduate FEAT_MBYTE, part 2.
fc3abf47fb
This commit is contained in:
Jan Edmund Lazo
2020-11-12 00:43:14 -05:00
parent 54495c9816
commit e2504d2192
7 changed files with 72 additions and 96 deletions

View File

@@ -4152,9 +4152,7 @@ void goto_byte(long cnt)
check_cursor();
// Make sure the cursor is on the first byte of a multi-byte char.
if (has_mbyte) {
mb_adjust_cursor();
}
mb_adjust_cursor();
}
/// Increment the line pointer "lp" crossing line boundaries as necessary.