diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-10 23:01:42 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-10 23:01:45 -0400 |
commit | 1a43aef9ecd62a0c03a4702cfb827369d229f748 (patch) | |
tree | 111c4d14839f91b391db87012cb7ed15020dfdef | |
parent | e1fa242a6c3a5914d31038b429338bb4f1c4ed76 (diff) | |
download | rneovim-1a43aef9ecd62a0c03a4702cfb827369d229f748.tar.gz rneovim-1a43aef9ecd62a0c03a4702cfb827369d229f748.tar.bz2 rneovim-1a43aef9ecd62a0c03a4702cfb827369d229f748.zip |
move: drop has_mbyte check
has_mbyte is always true in nvim.
-rw-r--r-- | src/nvim/move.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c index 4261a52054..f921b761a5 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -2168,9 +2168,7 @@ void do_check_cursorbind(void) restart_edit = restart_edit_save; } // Correct cursor for multi-byte character. - if (has_mbyte) { - mb_adjust_cursor(); - } + mb_adjust_cursor(); redraw_later(VALID); // Only scroll when 'scrollbind' hasn't done this. |