move: drop has_mbyte check

has_mbyte is always true in nvim.
This commit is contained in:
Jan Edmund Lazo 2018-09-10 23:01:42 -04:00
parent e1fa242a6c
commit 1a43aef9ec

View File

@ -2168,9 +2168,7 @@ void do_check_cursorbind(void)
restart_edit = restart_edit_save; restart_edit = restart_edit_save;
} }
// Correct cursor for multi-byte character. // Correct cursor for multi-byte character.
if (has_mbyte) { mb_adjust_cursor();
mb_adjust_cursor();
}
redraw_later(VALID); redraw_later(VALID);
// Only scroll when 'scrollbind' hasn't done this. // Only scroll when 'scrollbind' hasn't done this.