Mercurial > vim
diff src/ex_getln.c @ 14439:e4c553e9132b v8.1.0233
patch 8.1.0233: "safe" argument of call_vim_function() is always FALSE
commit https://github.com/vim/vim/commit/ded27a1febda3db7447958b60a7d791af514d124
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 1 19:06:03 2018 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Aug 2018 19:15:05 +0200 |
parents | 5d9b450e7827 |
children | 4825955cb706 |
line wrap: on
line diff
--- 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;