diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/path.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index e3d87ff33e..4f3f7c0661 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -677,7 +677,8 @@ static size_t do_path_expand(garray_T *gap, const char_u *path, if ((name[0] != '.' || starts_with_dot || ((flags & EW_DODOT) - && name[1] != NUL && (name[1] != '.' || name[2] != NUL))) + && name[1] != NUL + && (name[1] != '.' || name[2] != NUL))) // -V557 && ((regmatch.regprog != NULL && vim_regexec(®match, name, 0)) || ((flags & EW_NOTWILD) && fnamencmp(path + (s - buf), name, e - s) == 0))) { |