mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
vim-patch:8.1.0806: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
fc3abf47fb
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user