summaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-13 21:27:24 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-13 21:27:24 +0200
commit52d3aaeea4c85406f46e2051729e4f007f83b35e (patch)
tree8fb9460c5decb5f76ae51159305e7383bfb0dd3e /src/mbyte.c
parent5ecdf96422af3171cf948865bf057c2a61f042bc (diff)
downloadvim-git-52d3aaeea4c85406f46e2051729e4f007f83b35e.tar.gz
patch 8.1.0055: complete test has wrong order of argumentsv8.1.0055
Problem: Complete test has wrong order of arguments. Wrong type for sentinel variable. Solution: Swap arguments, use VAR_UNKNOWN. (Ozaki Kiichi)
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 545a40db0..044312288 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -4799,7 +4799,7 @@ call_imactivatefunc(int active)
argv[0].v_type = VAR_NUMBER;
argv[0].vval.v_number = active ? 1 : 0;
- argv[1].v_type = VAR_NUMBER;
+ argv[1].v_type = VAR_UNKNOWN;
(void)call_func_retnr(p_imaf, 1, argv, FALSE);
}