From: Bram Moolenaar Date: Thu, 29 Nov 2007 20:27:21 +0000 (+0000) Subject: updated for version 7.1-164 X-Git-Tag: v7.1.164 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f5c578a5e1cc6750577fa7283d825fc886410fc;p=vim updated for version 7.1-164 --- diff --git a/src/regexp.c b/src/regexp.c index b62f877a8..6717d2c73 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -2770,7 +2770,8 @@ skipchr() { #ifdef FEAT_MBYTE if (enc_utf8) - prevchr_len += utf_char2len(mb_ptr2char(regparse + prevchr_len)); + /* exclude composing chars that mb_ptr2len does include */ + prevchr_len += utf_ptr2len(regparse + prevchr_len); else if (has_mbyte) prevchr_len += (*mb_ptr2len)(regparse + prevchr_len); else diff --git a/src/version.c b/src/version.c index 1dd2a2393..1aecf6c27 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 */ +/**/ + 164, /**/ 163, /**/