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:
Mark Bainter
2015-05-07 21:57:04 -05:00
committed by Justin M. Keyes
parent de7332c0f5
commit 7747bf64d8
3 changed files with 3 additions and 3 deletions

View File

@@ -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);
}