diff options
| author | Mark Bainter <mbainter+github@gmail.com> | 2015-04-12 21:26:06 +0000 |
|---|---|---|
| committer | Mark Bainter <mbainter+github@gmail.com> | 2015-04-18 04:50:12 +0000 |
| commit | a4e51f72ab5dac1149b415c6fc0bf1c87a11acda (patch) | |
| tree | b884d94ab685d81da3d65cb1246e9714c123b706 /src/nvim/option.c | |
| parent | 4848158cc12443c27e298b01543bf620172508c3 (diff) | |
| download | rneovim-a4e51f72ab5dac1149b415c6fc0bf1c87a11acda.tar.gz rneovim-a4e51f72ab5dac1149b415c6fc0bf1c87a11acda.tar.bz2 rneovim-a4e51f72ab5dac1149b415c6fc0bf1c87a11acda.zip | |
Remove char_u: vim_setenv()
Diffstat (limited to 'src/nvim/option.c')
| -rw-r--r-- | src/nvim/option.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index f6c613ef6a..6da0058c1a 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2288,7 +2288,7 @@ void set_init_3(void) * When 'helplang' is still at its default value, set it to "lang". * Only the first two characters of "lang" are used. */ -void set_helplang_default(char_u *lang) +void set_helplang_default(const char *lang) { int idx; @@ -3644,11 +3644,11 @@ did_set_string_option ( else if (varp == &p_hf) { /* May compute new values for $VIM and $VIMRUNTIME */ if (didset_vim) { - vim_setenv((char_u *)"VIM", (char_u *)""); + vim_setenv("VIM", ""); didset_vim = FALSE; } if (didset_vimruntime) { - vim_setenv((char_u *)"VIMRUNTIME", (char_u *)""); + vim_setenv("VIMRUNTIME", ""); didset_vimruntime = FALSE; } } @@ -7437,7 +7437,7 @@ void vimrc_found(char_u *fname, char_u *envname) /* Set $MYVIMRC to the first vimrc file found. */ p = FullName_save(fname, FALSE); if (p != NULL) { - vim_setenv(envname, p); + vim_setenv((char *)envname, (char *)p); xfree(p); } } else if (dofree) |