summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2008-06-21 12:14:30 +0000
committervimboss <devnull@localhost>2008-06-21 12:14:30 +0000
commite7f98bc0caad4337dee83025e5bbed6781b88e75 (patch)
tree01f78e084ba7f2da835cf2fcdfed0ccf093d87f8
parentc57da1afa1f1f226c527f95c88f362e23340ed2e (diff)
downloadvim-e7f98bc0caad4337dee83025e5bbed6781b88e75.tar.gz
updated for version 7.1-329v7.1.329v7-1-329
-rw-r--r--src/screen.c5
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 3a585ffa..7945866f 100644
--- 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
index bd4a99f5..f9b88868 100644
--- 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,