# HG changeset patch # User vimboss # Date 1214050470 0 # Node ID dbef8434a2ea19482b3ba72b428c57dafaad29a4 # Parent fc2ee817dc9861774c31bbe768cddcaca4690e4e updated for version 7.1-329 diff --git a/src/screen.c b/src/screen.c --- a/src/screen.c +++ b/src/screen.c @@ -4863,6 +4863,7 @@ comp_char_differs(off_from, off_to) * - the (first byte of the) character is different * - the attributes are different * - the character is multi-byte and the next byte is different + * - the character is two cells wide and the second cell differs. */ static int char_needs_redraw(off_from, off_to, cols) @@ -4884,7 +4885,9 @@ char_needs_redraw(off_from, off_to, cols || (enc_utf8 && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to] || (ScreenLinesUC[off_from] != 0 - && comp_char_differs(off_from, off_to)))) + && comp_char_differs(off_from, off_to)) + || (cols > 1 && ScreenLines[off_from + 1] + != ScreenLines[off_to + 1]))) #endif )) return TRUE; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 329, +/**/ 328, /**/ 327,