diff src/screen.c @ 6477:0b245c8dbd19 v7.4.567

updated for version 7.4.567 Problem: Non-ascii vertical separater characters are always redrawn. Solution: Compare only the one byte that's stored. (Thiago Padilha)
author Bram Moolenaar <bram@vim.org>
date Wed, 07 Jan 2015 19:04:28 +0100
parents b5df99582638
children 134a7d55f9fa
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -6062,7 +6062,7 @@ screen_line(row, coloff, endcol, clear_w
 	    int c;
 
 	    c = fillchar_vsep(&hl);
-	    if (ScreenLines[off_to] != c
+	    if (ScreenLines[off_to] != (schar_T)c
 # ifdef FEAT_MBYTE
 		    || (enc_utf8 && (int)ScreenLinesUC[off_to]
 						       != (c >= 0x80 ? c : 0))