summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 33a7c66159..b9b44886c4 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5493,6 +5493,7 @@ chk_modeline(
current_sctx.sc_sid = SID_MODELINE;
current_sctx.sc_seq = 0;
current_sctx.sc_lnum = 0;
+ current_sctx.sc_version = 1;
#endif
// Make sure no risky things are executed as a side effect.
secure = 1;