summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2007-11-20 17:04:29 +0000
committervimboss <devnull@localhost>2007-11-20 17:04:29 +0000
commitc53d0ebee6bb37d5fa45056521480191208b2b6c (patch)
treee8b66d4a05ee0dd573817590dee822ea3b37a7e3
parentc6cb78e662446e916f32e542aa5f228c8589d187 (diff)
downloadvim-c53d0ebee6bb37d5fa45056521480191208b2b6c.tar.gz
updated for version 7.1-159v7.1.159v7-1-159
-rw-r--r--src/ex_cmds.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index ede122cc..3c2690a8 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4885,7 +4885,8 @@ do_sub(eap)
++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 3661a8be..e044725a 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 */
/**/
+ 159,
+/**/
158,
/**/
157,