mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.1.0233: "safe" argument of call_vim_function() is always FALSE
Problem: "safe" argument of call_vim_function() is always FALSE. Solution: Remove the argument.
This commit is contained in:
@@ -4825,7 +4825,7 @@ call_imactivatefunc(int active)
|
||||
argv[0].v_type = VAR_NUMBER;
|
||||
argv[0].vval.v_number = active ? 1 : 0;
|
||||
argv[1].v_type = VAR_UNKNOWN;
|
||||
(void)call_func_retnr(p_imaf, 1, argv, FALSE);
|
||||
(void)call_func_retnr(p_imaf, 1, argv);
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -4839,7 +4839,7 @@ call_imstatusfunc(void)
|
||||
/* FIXME: :py print 'xxx' is shown duplicate result.
|
||||
* Use silent to avoid it. */
|
||||
++msg_silent;
|
||||
is_active = call_func_retnr(p_imsf, 0, NULL, FALSE);
|
||||
is_active = call_func_retnr(p_imsf, 0, NULL);
|
||||
--msg_silent;
|
||||
return (is_active > 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user