summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index ee962b2e8..8235a4fca 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5523,11 +5523,11 @@ chk_modeline(
current_sctx.sc_lnum = 0;
#endif
// Make sure no risky things are executed as a side effect.
- ++sandbox;
+ ++secure;
retval = do_set(s, OPT_MODELINE | OPT_LOCAL | flags);
- --sandbox;
+ --secure;
#ifdef FEAT_EVAL
current_sctx = save_current_sctx;
#endif