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

@@ -1367,7 +1367,7 @@ recover_names (
char_u *swapname = (char_u *)modname((char *)fname_res, ".swp", TRUE);
if (swapname != NULL) {
if (os_file_exists(swapname)) {
files = (char_u **)xmalloc(sizeof(char_u *));
files = xmalloc(sizeof(char_u *));
files[0] = swapname;
swapname = NULL;
num_files = 1;