vim-patch:7.4.567

Problem:    Non-ascii vertical separater characters are always redrawn.
Solution:   Compare only the one byte that's stored. (Thiago Padilha)

https://code.google.com/p/vim/source/detail?r=v7-4-567
This commit is contained in:
Florian Walch
2015-01-08 08:28:55 +01:00
parent bfd2a34570
commit 65c1e265dd
2 changed files with 2 additions and 2 deletions

View File

@@ -4548,7 +4548,7 @@ static void screen_line(int row, int coloff, int endcol, int clear_width, int rl
int c;
c = fillchar_vsep(&hl);
if (ScreenLines[off_to] != c
if (ScreenLines[off_to] != (schar_T)c
|| (enc_utf8 && (int)ScreenLinesUC[off_to]
!= (c >= 0x80 ? c : 0))
|| ScreenAttrs[off_to] != hl) {