]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-170 v7.1.170
authorBram Moolenaar <Bram@vim.org>
Fri, 7 Dec 2007 16:30:42 +0000 (16:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 7 Dec 2007 16:30:42 +0000 (16:30 +0000)
src/getchar.c
src/version.c

index 4d6da38ddaeeb4652b7dcce88804f5fc19025633..0e78a7bd87a1f0f7e1dd8bfdfc7257f780b780d3 100644 (file)
@@ -253,8 +253,9 @@ add_buff(buf, s, slen)
        return;
     }
     else if (buf->bh_index != 0)
-       STRCPY(buf->bh_first.b_next->b_str,
-                                buf->bh_first.b_next->b_str + buf->bh_index);
+       mch_memmove(buf->bh_first.b_next->b_str,
+                   buf->bh_first.b_next->b_str + buf->bh_index,
+                   STRLEN(buf->bh_first.b_next->b_str + buf->bh_index) + 1);
     buf->bh_index = 0;
 
     if (buf->bh_space >= (int)slen)
index 240fd89130a15ffac496d9055b61ef18567ad2db..c43de885287fc2e5563c5cd35a6d17454144f6d7 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    170,
 /**/
     169,
 /**/