aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2015-01-08 08:28:55 +0100
committerFlorian Walch <florian@fwalch.com>2015-01-08 08:59:20 +0100
commit65c1e265dd521326649cd46738fcb3451c2820c3 (patch)
treeed70adaf41c3e0ef1757d396213be868f26a17db /src
parentbfd2a34570cf93e1b94dd7483a7f02ea12750992 (diff)
downloadrneovim-65c1e265dd521326649cd46738fcb3451c2820c3.tar.gz
rneovim-65c1e265dd521326649cd46738fcb3451c2820c3.tar.bz2
rneovim-65c1e265dd521326649cd46738fcb3451c2820c3.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/nvim/screen.c2
-rw-r--r--src/nvim/version.c2
2 files changed, 2 insertions, 2 deletions
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,