From 65c1e265dd521326649cd46738fcb3451c2820c3 Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Thu, 8 Jan 2015 08:28:55 +0100 Subject: 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 --- src/nvim/screen.c | 2 +- src/nvim/version.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 855c09619e..52ded0aa49 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) { diff --git a/src/nvim/version.c b/src/nvim/version.c index 94565d61bd..2810d9b0ee 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -178,7 +178,7 @@ static char *(features[]) = { }; static int included_patches[] = { - //567, + 567, //566, //565, //564, -- cgit