Mercurial > vim
diff src/mbyte.c @ 14439:e4c553e9132b v8.1.0233
patch 8.1.0233: "safe" argument of call_vim_function() is always FALSE
commit https://github.com/vim/vim/commit/ded27a1febda3db7447958b60a7d791af514d124
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 1 19:06:03 2018 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Aug 2018 19:15:05 +0200 |
parents | 65ded7626193 |
children | f8cd07a1cbb5 |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -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); }