summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-29 23:15:25 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-29 23:15:25 +0100
commit310c32e8920140f0db747c6c6eb06b1ee53cdb5a (patch)
tree6a63306e6627614a8f3b9b543f129323f3093f86 /src/evalfunc.c
parent15a7bdcb77faabbd3a9a889957f810da2bcda13e (diff)
patch 8.1.2361: MS-Windows: test failures related to VIMDLLv8.1.2361
Problem: MS-Windows: test failures related to VIMDLL. Solution: Adjust code and tests. (Ken Takata, closes #5283)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 254b2a9baa..a071ad8b65 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -3355,7 +3355,7 @@ f_has(typval_T *argvars, typval_T *rettv)
#ifdef FEAT_SEARCHPATH
"file_in_path",
#endif
-#ifdef FEAT_FILTERPIPE
+#if defined(FEAT_FILTERPIPE) && !defined(VIMDLL)
"filterpipe",
#endif
#ifdef FEAT_FIND_ID
@@ -3819,6 +3819,10 @@ f_has(typval_T *argvars, typval_T *rettv)
else if (STRICMP(name, "clipboard_working") == 0)
n = clip_star.available;
#endif
+#ifdef VIMDLL
+ else if (STRICMP(name, "filterpipe") == 0)
+ n = gui.in_use || gui.starting;
+#endif
}
rettv->vval.v_number = n;