Mercurial > vim
diff src/edit.c @ 3709:2bb51730ef4b v7.3.614
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Jul 2012 16:47:03 +0200 |
parents | f07475816079 |
children | 7de7ef01288d |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -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) {