mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.0476: varargs does not work for replacement function of substitute()
Problem: Varargs does not work for replacement function of substitute(). Solution: Check the varargs flag of the function. (closes #11142)
This commit is contained in:
@@ -3644,7 +3644,7 @@ call_func(
|
||||
if (funcexe->fe_argv_func != NULL)
|
||||
// postponed filling in the arguments, do it now
|
||||
argcount = funcexe->fe_argv_func(argcount, argvars,
|
||||
argv_clear, fp->uf_args.ga_len);
|
||||
argv_clear, fp);
|
||||
|
||||
if (funcexe->fe_basetv != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user