mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
Remove char_u: vim_getenv()
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user