diff options
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 93d039467..ea8361524 100644 --- a/src/eval.c +++ b/src/eval.c @@ -9195,7 +9195,7 @@ findfilendir(argvars, rettv, dir) vim_free(fresult); fresult = find_file_in_path_option(first ? fname : NULL, first ? (int)STRLEN(fname) : 0, - 0, first, path, dir, NULL, + 0, first, path, dir, curbuf->b_ffname, dir ? (char_u *)"" : curbuf->b_p_sua); first = FALSE; |