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/edit.c | |
parent | f711cb2f12458d32e082c0e3d4103e2b072947c3 (diff) | |
download | vim-git-ded27a1febda3db7447958b60a7d791af514d124.tar.gz |
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/edit.c')
-rw-r--r-- | src/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/edit.c b/src/edit.c index b0b44e606..daadc7b7b 100644 --- a/src/edit.c +++ b/src/edit.c @@ -4239,7 +4239,7 @@ expand_by_function( curbuf_save = curbuf; /* Call a function, which returns a list or dict. */ - if (call_vim_function(funcname, 2, args, &rettv, FALSE) == OK) + if (call_vim_function(funcname, 2, args, &rettv) == OK) { switch (rettv.v_type) { @@ -5569,7 +5569,7 @@ ins_complete(int c, int enable_pum) pos = curwin->w_cursor; curwin_save = curwin; curbuf_save = curbuf; - col = call_func_retnr(funcname, 2, args, FALSE); + col = call_func_retnr(funcname, 2, args); if (curwin_save != curwin || curbuf_save != curbuf) { EMSG(_(e_complwin)); |