diff src/screen.c @ 1821:9913ff570616 v7.2.119

updated for version 7.2-119
author vimboss
date Sun, 22 Feb 2009 00:14:58 +0000
parents 15130d4dfea1
children 3af28ecf9e56
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -6362,7 +6362,7 @@ screen_puts_len(text, len, row, col, att
 		    && c == 0x8e
 		    && ScreenLines2[off] != ptr[1])
 		|| (enc_utf8
-		    && (ScreenLinesUC[off] != (u8char_T)u8c
+		    && (ScreenLinesUC[off] != (u8char_T)(c >= 0x80 ? u8c : 0)
 			|| screen_comp_differs(off, u8cc)))
 #endif
 		|| ScreenAttrs[off] != attr