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/os_unix.c | |
parent | 00c35ab3b4d8498c82776525de7b1afcd7b3424a (diff) | |
download | rneovim-3e1ca9a2db2e2bbc05150e54a2625c1c56fb071e.tar.gz rneovim-3e1ca9a2db2e2bbc05150e54a2625c1c56fb071e.tar.bz2 rneovim-3e1ca9a2db2e2bbc05150e54a2625c1c56fb071e.zip |
Linting.
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r-- | src/nvim/os_unix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c index cc4fb2653d..2ed0c2c856 100644 --- a/src/nvim/os_unix.c +++ b/src/nvim/os_unix.c @@ -576,10 +576,11 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, if ((dir && !(flags & EW_DIR)) || (!dir && !(flags & EW_FILE))) continue; - /* Skip files that are not executable if we check for that. */ + // Skip files that are not executable if we check for that. if (!dir && (flags & EW_EXEC) - && !os_can_exe((*file)[i], NULL, !(flags & EW_SHELLCMD))) + && !os_can_exe((*file)[i], NULL, !(flags & EW_SHELLCMD))) { continue; + } p = xmalloc(STRLEN((*file)[i]) + 1 + dir); STRCPY(p, (*file)[i]); |