0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.1.0055: complete test has wrong order of arguments

Problem:    Complete test has wrong order of arguments. Wrong type for
            sentinel variable.
Solution:   Swap arguments, use VAR_UNKNOWN. (Ozaki Kiichi)
This commit is contained in:
Bram Moolenaar
2018-06-13 21:27:24 +02:00
parent 5ecdf96422
commit 52d3aaeea4
3 changed files with 7 additions and 5 deletions

View File

@@ -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);
}