0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0046

This commit is contained in:
Bram Moolenaar
2005-01-31 19:19:04 +00:00
parent b23c33872a
commit 2ce06f6eb9
24 changed files with 326 additions and 164 deletions

View File

@@ -4165,8 +4165,8 @@ win_line(wp, lnum, startrow, endrow)
#ifdef FEAT_MBYTE
/* When there is a multi-byte character, just output a
* space to keep it simple. */
if (has_mbyte && mb_off2cells(LineOffset[screen_row - 1]
+ (unsigned)Columns - 1) != 1)
if (has_mbyte && MB_BYTE2LEN(ScreenLines[LineOffset[
screen_row - 1] + (Columns - 1)]) > 1)
out_char(' ');
else
#endif