diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-01-31 19:19:04 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-01-31 19:19:04 +0000 |
commit | 2ce06f6eb9a10bbbf1b3a0abf9f8c1bb71311e54 (patch) | |
tree | 6dc3e7795458f6ab29244cf926d32ece9b1f696d /src/screen.c | |
parent | b23c33872aa46de39bdc2cd2cbded697afa6ad08 (diff) | |
download | vim-git-2ce06f6eb9a10bbbf1b3a0abf9f8c1bb71311e54.tar.gz |
updated for version 7.0046
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c index 0435eb57b..6271b84c7 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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 |