]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-291 v7.2.291
authorBram Moolenaar <Bram@vim.org>
Wed, 11 Nov 2009 16:07:20 +0000 (16:07 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 11 Nov 2009 16:07:20 +0000 (16:07 +0000)
src/screen.c
src/version.c

index b7107b62577aa47cbcc909a49919c3618fd467d7..5acc7dc40bae2bdad9fc402b21359f68c808ecd9 100644 (file)
@@ -6413,7 +6413,8 @@ screen_puts_len(text, len, row, col, attr)
                    }
                    else
                    {
-                       nc = utfc_ptr2char(ptr + mbyte_blen, pcc);
+                       nc = utfc_ptr2char_len(ptr + mbyte_blen, pcc,
+                                     (int)((text + len) - ptr - mbyte_blen));
                        nc1 = pcc[0];
                    }
                    pc = prev_c;
index 474ae3f4afbd82a2293c2be98ce7e27173a451ef..7654400bc63e29d30f295d4739e174f9de39926f 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    291,
 /**/
     290,
 /**/