diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-06-19 18:27:18 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-06-19 18:27:18 +0000 |
commit | 1ad2f13b37a66b0d112ead98b89d54d30f88e8fe (patch) | |
tree | c38272edb17c7720ec81e3a2831bd9748892f257 /src/main.c | |
parent | dc3213d8554e977ee64a8a4464fc57825db106dc (diff) | |
download | vim-git-1ad2f13b37a66b0d112ead98b89d54d30f88e8fe.tar.gz |
updated for version 7.1-011v7.1.011
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 438cb997e..fdfc2b82f 100644 --- 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) |