changeset 3759:c0256c4bd91e v7.3.638

updated for version 7.3.638
author Bram Moolenaar <bram@vim.org>
date Thu, 23 Aug 2012 18:58:14 +0200
parents e927c141d774
children 82b45a598261
files src/screen.c src/version.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -5332,8 +5332,9 @@ char_needs_redraw(off_from, off_to, cols
 		    && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to]
 			|| (ScreenLinesUC[off_from] != 0
 			    && comp_char_differs(off_from, off_to))
-			|| (cols > 1 && ScreenLines[off_from + 1]
-						 != ScreenLines[off_to + 1])))
+			|| ((*mb_off2cells)(off_from, off_from + cols) > 1
+			    && ScreenLines[off_from + 1]
+						  != ScreenLines[off_to + 1])))
 #endif
 	       ))
 	return TRUE;
--- a/src/version.c
+++ b/src/version.c
@@ -720,6 +720,10 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    638,
+/**/
+    638,
+/**/
     637,
 /**/
     636,