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/window.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/window.c')
-rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 16acf013ab..f3c14a568d 100644 --- a/src/window.c +++ b/src/window.c @@ -5065,7 +5065,7 @@ int path_with_url(char_u *fname) */ int vim_isAbsName(char_u *name) { - return path_with_url(name) != 0 || mch_is_full_name(name); + return path_with_url(name) != 0 || mch_is_absolute_path(name); } /* @@ -5090,7 +5090,7 @@ vim_FullName ( url = path_with_url(fname); if (!url) - retval = mch_full_name(fname, buf, len, force); + retval = mch_get_absolute_path(fname, buf, len, force); if (url || retval == FAIL) { /* something failed; use the file name (truncate when too long) */ vim_strncpy(buf, fname, len - 1); |