diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-01 19:06:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-01 19:06:03 +0200 |
commit | ded27a1febda3db7447958b60a7d791af514d124 (patch) | |
tree | d6187c6d409aafabad0aab6e76f97132a51fe640 /src/ex_getln.c | |
parent | f711cb2f12458d32e082c0e3d4103e2b072947c3 (diff) |
patch 8.1.0233: "safe" argument of call_vim_function() is always FALSEv8.1.0233
Problem: "safe" argument of call_vim_function() is always FALSE.
Solution: Remove the argument.
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index e659c1a8c2..54b37961f5 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -5279,7 +5279,7 @@ expand_shellcmd( */ static void * call_user_expand_func( - void *(*user_expand_func)(char_u *, int, typval_T *, int), + void *(*user_expand_func)(char_u *, int, typval_T *), expand_T *xp, int *num_file, char_u ***file) @@ -5318,7 +5318,7 @@ call_user_expand_func( ccline.cmdprompt = NULL; current_SID = xp->xp_scriptID; - ret = user_expand_func(xp->xp_arg, 3, args, FALSE); + ret = user_expand_func(xp->xp_arg, 3, args); ccline = save_ccline; current_SID = save_current_SID; |