comparison 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
comparison
equal deleted inserted replaced
3708:1deb3f8e60ba 3709:2bb51730ef4b
3957 pos = curwin->w_cursor; 3957 pos = curwin->w_cursor;
3958 curwin_save = curwin; 3958 curwin_save = curwin;
3959 curbuf_save = curbuf; 3959 curbuf_save = curbuf;
3960 3960
3961 /* Call a function, which returns a list or dict. */ 3961 /* Call a function, which returns a list or dict. */
3962 if (call_vim_function(funcname, 2, args, FALSE, &rettv) == OK) 3962 if (call_vim_function(funcname, 2, args, FALSE, FALSE, &rettv) == OK)
3963 { 3963 {
3964 switch (rettv.v_type) 3964 switch (rettv.v_type)
3965 { 3965 {
3966 case VAR_LIST: 3966 case VAR_LIST:
3967 matchlist = rettv.vval.v_list; 3967 matchlist = rettv.vval.v_list;