Remove char_u: vim_getenv()

This commit is contained in:
Mark Bainter
2015-04-12 21:17:16 +00:00
parent 9a5e87ac83
commit 4848158cc1
6 changed files with 31 additions and 33 deletions

View File

@@ -834,7 +834,7 @@ static void init_locale(void)
/* expand_env() doesn't work yet, because chartab[] is not initialized
* yet, call vim_getenv() directly */
p = vim_getenv((char_u *)"VIMRUNTIME", &mustfree);
p = (char_u *)vim_getenv("VIMRUNTIME", &mustfree);
if (p != NULL && *p != NUL) {
vim_snprintf((char *)NameBuff, MAXPATHL, "%s/lang", p);
bindtextdomain(VIMPACKAGE, (char *)NameBuff);