From 869c734890e493279b1880a773de24fa5f57adfb Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Mon, 5 Jan 2015 14:55:36 -0300 Subject: screen: Fix bug that causes separator to always be redraw for utf8 --- src/nvim/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 0ff74176d4..a3b1b4d433 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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) { -- cgit