mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0-225
This commit is contained in:
@@ -516,7 +516,14 @@ check_cursor_col()
|
||||
|| virtual_active())
|
||||
curwin->w_cursor.col = len;
|
||||
else
|
||||
{
|
||||
curwin->w_cursor.col = len - 1;
|
||||
#ifdef FEAT_MBYTE
|
||||
/* prevent cursor from moving on the trail byte */
|
||||
if (has_mbyte)
|
||||
mb_adjust_cursor();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef FEAT_VIRTUALEDIT
|
||||
|
Reference in New Issue
Block a user