diff options
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 31bf8760b..3314a3c4b 100644 --- a/src/option.c +++ b/src/option.c @@ -5812,8 +5812,8 @@ buf_copy_options(buf_T *buf, int flags) if (should_copy || (flags & BCO_ALWAYS)) { - vim_memset(buf->b_p_script_ctx, 0, sizeof(buf->b_p_script_ctx)); #ifdef FEAT_EVAL + vim_memset(buf->b_p_script_ctx, 0, sizeof(buf->b_p_script_ctx)); init_buf_opt_idx(); #endif // Don't copy the options specific to a help buffer when |