diff options
author | Thomas Wienecke <wienecke.t@gmail.com> | 2014-03-05 12:34:15 +0100 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-06 13:10:58 -0300 |
commit | fc8686640250561156913387c62924d2bdb5e1ac (patch) | |
tree | 470fc2e2d3cfdf978dceb565a099b67285717efe /src/eval.c | |
parent | fdba1761f655ece7d6124570d20cc498c67f947e (diff) | |
download | rneovim-fc8686640250561156913387c62924d2bdb5e1ac.tar.gz rneovim-fc8686640250561156913387c62924d2bdb5e1ac.tar.bz2 rneovim-fc8686640250561156913387c62924d2bdb5e1ac.zip |
Fix style issues.
* Rename mch_full_name to mch_get_absolute_path.
* Rename mch_is_full_name to mch_is_absolute_path.
* Add a lot of missing parentheses.
* Remove yoda-conditions for consistency.
* Remove spaces in function declaration.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 2116652942..cfcf4ce712 100644 --- a/src/eval.c +++ b/src/eval.c @@ -12468,7 +12468,7 @@ static void f_resolve(typval_T *argvars, typval_T *rettv) q[-1] = NUL; q = gettail(p); } - if (q > p && !mch_is_full_name(buf)) { + if (q > p && !mch_is_absolute_path(buf)) { /* symlink is relative to directory of argument */ cpy = alloc((unsigned)(STRLEN(p) + STRLEN(buf) + 1)); if (cpy != NULL) { |