diff options
author | Mark Bainter <mbainter+github@gmail.com> | 2015-05-07 21:57:04 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-05-13 19:42:31 -0400 |
commit | 7747bf64d8d638b036b5ea39681f29967d98f777 (patch) | |
tree | 6eb7f5c44aa71dec4bdf4f577db9936433b36117 /src/nvim/path.c | |
parent | de7332c0f58d822863e9f8bb8db0ea3e061a54bf (diff) | |
download | rneovim-7747bf64d8d638b036b5ea39681f29967d98f777.tar.gz rneovim-7747bf64d8d638b036b5ea39681f29967d98f777.tar.bz2 rneovim-7747bf64d8d638b036b5ea39681f29967d98f777.zip |
minor cleanup. #2610
Update vim_isAbsName() to use bool type
cleanup casts in vim_findfile() and recover_names()
References #2470
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r-- | src/nvim/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index 8dad76dd71..152154e5f4 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -1550,7 +1550,7 @@ int path_with_url(const char *fname) /* * Return TRUE if "name" is a full (absolute) path name or URL. */ -int vim_isAbsName(char_u *name) +bool vim_isAbsName(char_u *name) { return path_with_url((char *)name) != 0 || path_is_absolute_path(name); } |