mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
Simplify tricky preprocessor tests in ff_check_visited()
This commit is contained in:
parent
3843fd3469
commit
6bbffee0a5
@ -1198,11 +1198,12 @@ static int ff_check_visited(ff_visited_T **visited_list, char_u *fname, char_u *
|
|||||||
vp->ffv_fname[0] = NUL;
|
vp->ffv_fname[0] = NUL;
|
||||||
} else {
|
} else {
|
||||||
vp->ffv_dev_valid = FALSE;
|
vp->ffv_dev_valid = FALSE;
|
||||||
#endif
|
STRCPY(vp->ffv_fname, ff_expand_buffer);
|
||||||
|
}
|
||||||
|
#else
|
||||||
STRCPY(vp->ffv_fname, ff_expand_buffer);
|
STRCPY(vp->ffv_fname, ff_expand_buffer);
|
||||||
#ifdef UNIX
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (wc_path != NULL)
|
if (wc_path != NULL)
|
||||||
vp->ffv_wc_path = vim_strsave(wc_path);
|
vp->ffv_wc_path = vim_strsave(wc_path);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user