0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.614

Problem:    Number argument gets turned into a number while it should be a
            string.
Solution:   Add flag to the call_vim_function() call. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2012-07-25 16:47:03 +02:00
parent 9bdb9a0987
commit 0cbba94b7e
4 changed files with 17 additions and 8 deletions

View File

@@ -3959,7 +3959,7 @@ expand_by_function(type, base)
curbuf_save = curbuf;
/* Call a function, which returns a list or dict. */
if (call_vim_function(funcname, 2, args, FALSE, &rettv) == OK)
if (call_vim_function(funcname, 2, args, FALSE, FALSE, &rettv) == OK)
{
switch (rettv.v_type)
{