From: Bram Moolenaar Date: Thu, 20 Nov 2008 10:56:33 +0000 (+0000) Subject: updated for version 7.2-046 X-Git-Tag: v7.2.046 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3025b39e973fa6edd495a61a7b6ad68c874bcc84;p=vim updated for version 7.2-046 --- diff --git a/src/mbyte.c b/src/mbyte.c index 134a95600..b7114e8b4 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -3131,7 +3131,7 @@ enc_locale() else s = p + 1; } - for (i = 0; s[i] != NUL && s + i < buf + sizeof(buf) - 1; ++i) + for (i = 0; s[i] != NUL && i < sizeof(buf) - 1; ++i) { if (s[i] == '_' || s[i] == '-') buf[i] = '-'; diff --git a/src/version.c b/src/version.c index 3529bb084..b106c951b 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 46, /**/ 45, /**/