diff options
author | Thomas Wienecke <wienecke.t@gmail.com> | 2014-04-01 17:44:20 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-03 10:32:41 -0300 |
commit | 865e3280a8020d005ba462650f6479af815684a3 (patch) | |
tree | c23e5627750b688b7a67821fdbcf6924a39f9dcb /src/eval.c | |
parent | 955d6a29496d9f7902e95f4a2cc01fedd56e4a21 (diff) | |
download | rneovim-865e3280a8020d005ba462650f6479af815684a3.tar.gz rneovim-865e3280a8020d005ba462650f6479af815684a3.tar.bz2 rneovim-865e3280a8020d005ba462650f6479af815684a3.zip |
Fix seperator->separator, path_tail_with_separator->path_tail_with_sep.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c index ed519ff378..94eca72b4e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -11657,7 +11657,7 @@ static int mkdir_recurse(char_u *dir, int prot) /* Get end of directory name in "dir". * We're done when it's "/" or "c:/". */ - p = path_tail_with_seperator(dir); + p = path_tail_with_sep(dir); if (p <= get_past_head(dir)) return OK; @@ -11693,7 +11693,7 @@ static void f_mkdir(typval_T *argvars, typval_T *rettv) else { if (*path_tail(dir) == NUL) /* remove trailing slashes */ - *path_tail_with_seperator(dir) = NUL; + *path_tail_with_sep(dir) = NUL; if (argvars[1].v_type != VAR_UNKNOWN) { if (argvars[2].v_type != VAR_UNKNOWN) @@ -12544,7 +12544,7 @@ static void f_resolve(typval_T *argvars, typval_T *rettv) if (!has_trailing_pathsep) { q = p + STRLEN(p); if (after_pathsep(p, q)) - *path_tail_with_seperator(p) = NUL; + *path_tail_with_sep(p) = NUL; } rettv->vval.v_string = p; |