aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorMark Bainter <mbainter+github@gmail.com>2015-04-12 21:17:16 +0000
committerMark Bainter <mbainter+github@gmail.com>2015-04-17 14:46:58 +0000
commit4848158cc12443c27e298b01543bf620172508c3 (patch)
tree8c5fbac25fd8c2300b47b09a50420a6d1e3a0634 /src/nvim/ex_cmds.c
parent9a5e87ac83d2a0f88c183e13695910e950fd457b (diff)
downloadrneovim-4848158cc12443c27e298b01543bf620172508c3.tar.gz
rneovim-4848158cc12443c27e298b01543bf620172508c3.tar.bz2
rneovim-4848158cc12443c27e298b01543bf620172508c3.zip
Remove char_u: vim_getenv()
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index c57861282d..c40808b1f1 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -5117,7 +5117,7 @@ void fix_help_buffer(void)
while (*p != NUL) {
copy_option_part(&p, NameBuff, MAXPATHL, ",");
mustfree = FALSE;
- rt = vim_getenv((char_u *)"VIMRUNTIME", &mustfree);
+ rt = (char_u *)vim_getenv("VIMRUNTIME", &mustfree);
if (path_full_compare(rt, NameBuff, FALSE) != kEqualFiles) {
int fcount;
char_u **fnames;