# HG changeset patch # User vimboss # Date 1182277638 0 # Node ID e2680bc6a18024d68ce8100e21d4d307dd647aec # Parent 86079b930b3e8735933c9349e44184761bbf56b0 updated for version 7.1-011 diff --git a/src/main.c b/src/main.c --- a/src/main.c +++ b/src/main.c @@ -1360,8 +1360,7 @@ init_locale() p = vim_getenv((char_u *)"VIMRUNTIME", &mustfree); if (p != NULL && *p != NUL) { - STRCPY(NameBuff, p); - STRCAT(NameBuff, "/lang"); + vim_snprintf((char *)NameBuff, MAXPATHL, "%s/lang", p); bindtextdomain(VIMPACKAGE, (char *)NameBuff); } if (mustfree) diff --git a/src/version.c b/src/version.c --- 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 */ /**/ + 11, +/**/ 10, /**/ 9,