aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-15 03:54:52 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-05-15 15:01:52 +0200
commitcc5a42a77485cc09f6215326d3b5ed1ec139fba6 (patch)
tree028caf18de65f574fc6620e16604b64d494a46db /src/nvim/path.c
parent5bda5c5bf2e163657b3846a4aeeb9449de4b9c1a (diff)
downloadrneovim-cc5a42a77485cc09f6215326d3b5ed1ec139fba6.tar.gz
rneovim-cc5a42a77485cc09f6215326d3b5ed1ec139fba6.tar.bz2
rneovim-cc5a42a77485cc09f6215326d3b5ed1ec139fba6.zip
env_iter: Learn `delim` parameter.
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r--src/nvim/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index caf1ce20d6..23ed4d381e 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -2265,7 +2265,7 @@ void path_guess_exepath(const char *argv0, char *buf, size_t bufsize)
do {
const char *dir;
size_t dir_len;
- iter = vim_colon_env_iter(path, iter, &dir, &dir_len);
+ iter = vim_env_iter(ENV_SEPCHAR, path, iter, &dir, &dir_len);
if (dir == NULL || dir_len == 0) {
break;
}