From: Bram Moolenaar Date: Fri, 7 Dec 2007 16:30:42 +0000 (+0000) Subject: updated for version 7.1-170 X-Git-Tag: v7.1.170 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3b730796caf9b8faa2db6f5a35fa55a1368bfd5;p=vim updated for version 7.1-170 --- diff --git a/src/getchar.c b/src/getchar.c index 4d6da38dd..0e78a7bd8 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -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) diff --git a/src/version.c b/src/version.c index 240fd8913..c43de8852 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 170, /**/ 169, /**/