0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.1.0233: "safe" argument of call_vim_function() is always FALSE

Problem:    "safe" argument of call_vim_function() is always FALSE.
Solution:   Remove the argument.
This commit is contained in:
Bram Moolenaar
2018-08-01 19:06:03 +02:00
parent f711cb2f12
commit ded27a1feb
7 changed files with 20 additions and 35 deletions

View File

@@ -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;