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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user