commit | 2ce06f6eb9a10bbbf1b3a0abf9f8c1bb71311e54 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jan 31 19:19:04 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jan 31 19:19:04 2005 +0000 |
tree | 6dc3e7795458f6ab29244cf926d32ece9b1f696d | |
parent | b23c33872aa46de39bdc2cd2cbded697afa6ad08 [diff] [blame] |
updated for version 7.0046
diff --git a/src/screen.c b/src/screen.c index 0435eb5..6271b84 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -4165,8 +4165,8 @@ #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