summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-05 17:43:31 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-05 17:43:31 +0100
commit2c7292dc5bbf155fe2192d417363b8c085759cad (patch)
treef0bd3af6f22baaf5453865aa9849194725edaab1 /src/buffer.c
parent214641f77df6f318a4b3a0b09723c19859a103f4 (diff)
patch 8.0.0420: text garbled when the system encoding differs from 'encoding'v8.0.0420
Problem: When running :make the output may be in the system encoding, different from 'encoding'. Solution: Add the 'makeencoding' option. (Ken Takata)
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 6edb48a6f6..c25cb2f1a3 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2255,6 +2255,9 @@ free_buf_options(
clear_string_option(&buf->b_p_lw);
#endif
clear_string_option(&buf->b_p_bkc);
+#ifdef FEAT_MBYTE
+ clear_string_option(&buf->b_p_menc);
+#endif
}
/*