diff options
| author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-05 14:55:36 -0300 |
|---|---|---|
| committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-12 09:47:41 -0300 |
| commit | 869c734890e493279b1880a773de24fa5f57adfb (patch) | |
| tree | 3f6bf00383abd8f5f5bebb03b81af14c411c4a9d /src/nvim/screen.c | |
| parent | a4525bc5231bc175a4abd5f60624ed40e85c700b (diff) | |
| download | rneovim-869c734890e493279b1880a773de24fa5f57adfb.tar.gz rneovim-869c734890e493279b1880a773de24fa5f57adfb.tar.bz2 rneovim-869c734890e493279b1880a773de24fa5f57adfb.zip | |
screen: Fix bug that causes separator to always be redraw for utf8
Diffstat (limited to 'src/nvim/screen.c')
| -rw-r--r-- | src/nvim/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |