summaryrefslogtreecommitdiff
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-11 18:37:44 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-11 18:37:44 +0200
commit6ed8819822994512c160006bd1204aa11ae3c494 (patch)
tree171487d99e5cf0a6c7e5333159d98c821064e93e /src/ex_cmds2.c
parentec28d1516eb8bb5dcaa42de145953a6d49aebb6f (diff)
downloadvim-git-6ed8819822994512c160006bd1204aa11ae3c494.tar.gz
patch 8.1.1319: computing function length name in many placesv8.1.1319
Problem: Computing function length name in many places. Solution: compute name length in call_func().
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 8bab8536b..18c438ce0 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -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);