Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
6476:11d78e58a487 | 6477:0b245c8dbd19 |
---|---|
6060 if (col + coloff < Columns) | 6060 if (col + coloff < Columns) |
6061 { | 6061 { |
6062 int c; | 6062 int c; |
6063 | 6063 |
6064 c = fillchar_vsep(&hl); | 6064 c = fillchar_vsep(&hl); |
6065 if (ScreenLines[off_to] != c | 6065 if (ScreenLines[off_to] != (schar_T)c |
6066 # ifdef FEAT_MBYTE | 6066 # ifdef FEAT_MBYTE |
6067 || (enc_utf8 && (int)ScreenLinesUC[off_to] | 6067 || (enc_utf8 && (int)ScreenLinesUC[off_to] |
6068 != (c >= 0x80 ? c : 0)) | 6068 != (c >= 0x80 ? c : 0)) |
6069 # endif | 6069 # endif |
6070 || ScreenAttrs[off_to] != hl) | 6070 || ScreenAttrs[off_to] != hl) |