Nevermind my previous patch, it will fail for codepoints <= 0x80. The
new patch fixes with a explicit conversion to schar_T before comparing
with ScreenLines[off_t].

On Mon, Jan 5, 2015 at 2:07 PM, Thiago Padilha <[email protected]> wrote:
> When using utf-8, the condition to check if the separator char was
> modified in screen_line will always evaluate to true if the char is >
> 0x80. This is because the type of ScreenLines is unsigned char, so
> larger values will only pass the first byte. The attached patch fixes
> the problem.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: vsep-redraw-fix2.patch
Description: Binary data

Raspunde prin e-mail lui