aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-12-17 20:15:12 -0500
committerGitHub <noreply@github.com>2017-12-17 20:15:12 -0500
commite6f8b105b00f706ddb8b790a24e37d50711d8dcb (patch)
treeb3208fd9191d6a6c0d257b39ff3a6880ec12f804 /src/nvim/main.c
parentcca6d4b2674304d544b3880a616fd2ca7df2b891 (diff)
parentdb0685a663a7d86d960f22e18f4e8e5041f80833 (diff)
downloadrneovim-e6f8b105b00f706ddb8b790a24e37d50711d8dcb.tar.gz
rneovim-e6f8b105b00f706ddb8b790a24e37d50711d8dcb.tar.bz2
rneovim-e6f8b105b00f706ddb8b790a24e37d50711d8dcb.zip
Merge pull request #7736 from jamessan/vim-8.0.0420
[RFC] vim-patch:8.0.0420: text garbled when the system encoding differs from 'encoding'
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 0346414697..0b24023ad0 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -1369,7 +1369,7 @@ static void handle_quickfix(mparm_T *paramp)
set_string_option_direct((char_u *)"ef", -1,
paramp->use_ef, OPT_FREE, SID_CARG);
vim_snprintf((char *)IObuff, IOSIZE, "cfile %s", p_ef);
- if (qf_init(NULL, p_ef, p_efm, true, IObuff) < 0) {
+ if (qf_init(NULL, p_ef, p_efm, true, IObuff, p_menc) < 0) {
ui_linefeed();
mch_exit(3);
}