summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-01-07 19:04:28 +0100
committerBram Moolenaar <Bram@vim.org>2015-01-07 19:04:28 +0100
commitc60c4f6e06e222e90b2277c09fdaaac20ac9edf8 (patch)
treed296899ef16fca33b82cfd77cb5a2a5d8ca4efb4
parent8feef4ff6253afb9dcc61c40082ed4fbb96b685c (diff)
downloadvim-git-7.4.567.tar.gz
updated for version 7.4.567v7.4.567
Problem: Non-ascii vertical separater characters are always redrawn. Solution: Compare only the one byte that's stored. (Thiago Padilha)
-rw-r--r--src/screen.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 290dd1bd3..bbf57b112 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -6062,7 +6062,7 @@ screen_line(row, coloff, endcol, clear_width
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))
diff --git a/src/version.c b/src/version.c
index 6339bcb72..8b3ecbe90 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 567,
+/**/
566,
/**/
565,