Mirror of the Vim source from https://github.com/vim/vim
Revision | 215d6b2a1816a5eaf5f5d2cb7cb1b22d24adbdab (tree) |
---|---|
Time | 2007-11-21 02:04:29 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.1-159
@@ -4885,7 +4885,8 @@ | ||
4885 | 4885 | ++line2; |
4886 | 4886 | /* move the cursor to the new line, like Vi */ |
4887 | 4887 | ++curwin->w_cursor.lnum; |
4888 | - STRCPY(new_start, p1 + 1); /* copy the rest */ | |
4888 | + /* copy the rest */ | |
4889 | + mch_memmove(new_start, p1 + 1, STRLEN(p1 + 1) + 1); | |
4889 | 4890 | p1 = new_start - 1; |
4890 | 4891 | } |
4891 | 4892 | } |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 159, | |
671 | +/**/ | |
670 | 672 | 158, |
671 | 673 | /**/ |
672 | 674 | 157, |