updated for version 7.1-159
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index ede122c..3c2690a 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4885,7 +4885,8 @@
++line2;
/* move the cursor to the new line, like Vi */
++curwin->w_cursor.lnum;
- STRCPY(new_start, p1 + 1); /* copy the rest */
+ /* copy the rest */
+ mch_memmove(new_start, p1 + 1, STRLEN(p1 + 1) + 1);
p1 = new_start - 1;
}
}
diff --git a/src/version.c b/src/version.c
index 3661a8b..e044725 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 159,
+/**/
158,
/**/
157,