summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-01-12 15:47:10 +0000
committerBram Moolenaar <Bram@vim.org>2008-01-12 15:47:10 +0000
commit56cefaf15ad4bc7bc32b544dfcfd14f712482a3b (patch)
tree3a1f9dadbf832f0483beab42cf02a44b082c570f /src/eval.c
parent81993f4744fabced02e4967196a8925366e0d405 (diff)
downloadvim-56cefaf15ad4bc7bc32b544dfcfd14f712482a3b.zip
updated for version 7.1-219
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index ade6f5a1c..41e816ef0 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -15725,7 +15725,7 @@ f_synID(argvars, rettv)
if (!transerr && lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count
&& col >= 0 && col < (long)STRLEN(ml_get(lnum)))
- id = syn_get_id(curwin, lnum, (colnr_T)col, trans, NULL);
+ id = syn_get_id(curwin, lnum, (colnr_T)col, trans, NULL, FALSE);
#endif
rettv->vval.v_number = id;
@@ -15874,7 +15874,7 @@ f_synstack(argvars, rettv)
&& col >= 0 && col < (long)STRLEN(ml_get(lnum))
&& rettv_list_alloc(rettv) != FAIL)
{
- (void)syn_get_id(curwin, lnum, (colnr_T)col, FALSE, NULL);
+ (void)syn_get_id(curwin, lnum, (colnr_T)col, FALSE, NULL, TRUE);
for (i = 0; ; ++i)
{
id = syn_get_stack_item(i);