aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r--src/nvim/memline.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c
index 57ed0d6588..70225484ec 100644
--- a/src/nvim/memline.c
+++ b/src/nvim/memline.c
@@ -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.