aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-04-01 23:36:16 +0900
committererw7 <erw7.github@gmail.com>2019-04-01 23:36:16 +0900
commita062d307fb79a36488641c0815813297efa614d0 (patch)
treef1fa5e01819ee3fdab2582cec279dad1ca4c0beb
parente62f4cc1226c27d1628437540f12e0837e8239b7 (diff)
downloadrneovim-a062d307fb79a36488641c0815813297efa614d0.tar.gz
rneovim-a062d307fb79a36488641c0815813297efa614d0.tar.bz2
rneovim-a062d307fb79a36488641c0815813297efa614d0.zip
[ci skip] fs.c: fix comment
-rw-r--r--src/nvim/os/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index 71e76e2a78..2621d9da74 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -298,7 +298,7 @@ static bool is_executable(const char *name, char_u **abspath)
#ifdef WIN32
/// Checks if file `name` is executable under one of these conditions:
-/// - if the file extension is in $PATHEXT
+/// - if the file extension is in $PATHEXT and `name` is executable
/// - if the result of any $PATHEXT extension appended to `name` is executable
static bool is_executable_ext(char *name, char_u **abspath)
FUNC_ATTR_NONNULL_ARG(1, 2)