summaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-08-01 19:06:03 +0200
committerBram Moolenaar <Bram@vim.org>2018-08-01 19:06:03 +0200
commitded27a1febda3db7447958b60a7d791af514d124 (patch)
treed6187c6d409aafabad0aab6e76f97132a51fe640 /src/mbyte.c
parentf711cb2f12458d32e082c0e3d4103e2b072947c3 (diff)
downloadvim-git-ded27a1febda3db7447958b60a7d791af514d124.tar.gz
patch 8.1.0233: "safe" argument of call_vim_function() is always FALSEv8.1.0233
Problem: "safe" argument of call_vim_function() is always FALSE. Solution: Remove the argument.
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 1f85246f0..96b39b411 100644
--- 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);
}