forked from aniani/vim
patch 8.1.1319: computing function length name in many places
Problem: Computing function length name in many places. Solution: compute name length in call_func().
This commit is contained in:
@@ -325,7 +325,7 @@ timer_callback(timer_T *timer)
|
||||
argv[0].vval.v_number = (varnumber_T)timer->tr_id;
|
||||
argv[1].v_type = VAR_UNKNOWN;
|
||||
|
||||
call_func(timer->tr_callback, (int)STRLEN(timer->tr_callback),
|
||||
call_func(timer->tr_callback, -1,
|
||||
&rettv, 1, argv, NULL, 0L, 0L, &dummy, TRUE,
|
||||
timer->tr_partial, NULL);
|
||||
clear_tv(&rettv);
|
||||
|
||||
Reference in New Issue
Block a user