mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
minor cleanup. #2610
Update vim_isAbsName() to use bool type cleanup casts in vim_findfile() and recover_names() References #2470
This commit is contained in:

committed by
Justin M. Keyes

parent
de7332c0f5
commit
7747bf64d8
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user