diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-05-01 21:06:47 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-05-02 21:10:50 +0200 |
commit | 3e1ca9a2db2e2bbc05150e54a2625c1c56fb071e (patch) | |
tree | a91288e3142c9248960ff0a22370397978e17b68 /src/nvim/path.c | |
parent | 00c35ab3b4d8498c82776525de7b1afcd7b3424a (diff) | |
download | rneovim-3e1ca9a2db2e2bbc05150e54a2625c1c56fb071e.tar.gz rneovim-3e1ca9a2db2e2bbc05150e54a2625c1c56fb071e.tar.bz2 rneovim-3e1ca9a2db2e2bbc05150e54a2625c1c56fb071e.zip |
Linting.
Diffstat (limited to 'src/nvim/path.c')
-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 252e9430ec..aff0ee2d48 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -1321,8 +1321,9 @@ void addfile( // If the file isn't executable, may not add it. Do accept directories. // When invoked from expand_shellcmd() do not use $PATH. if (!isdir && (flags & EW_EXEC) - && !os_can_exe(f, NULL, !(flags & EW_SHELLCMD))) + && !os_can_exe(f, NULL, !(flags & EW_SHELLCMD))) { return; + } char_u *p = xmalloc(STRLEN(f) + 1 + isdir); |