aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-12-16 21:50:20 -0500
committerJames McCoy <jamessan@jamessan.com>2017-12-17 11:20:28 -0500
commitc162bc629440afaf8910f1a29f1dfdb03f898101 (patch)
tree2233cf781d1c08795755eb8d04bd9732d158ba5b /src/nvim/if_cscope.c
parentbe53c209c0e0ccff0053fac82f2d8e1c9a40427f (diff)
downloadrneovim-c162bc629440afaf8910f1a29f1dfdb03f898101.tar.gz
rneovim-c162bc629440afaf8910f1a29f1dfdb03f898101.tar.bz2
rneovim-c162bc629440afaf8910f1a29f1dfdb03f898101.zip
vim-patch:8.0.0420: text garbled when the system encoding differs from 'encoding'
Problem: When running :make the output may be in the system encoding, different from 'encoding'. Solution: Add the 'makeencoding' option. (Ken Takata) https://github.com/vim/vim/commit/2c7292dc5bbf155fe2192d417363b8c085759cad
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index 3c02f5acbd..654b4630c5 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -1012,9 +1012,9 @@ static int cs_find_common(char *opt, char *pat, int forceit, int verbose,
fclose(f);
if (use_ll) /* Use location list */
wp = curwin;
- /* '-' starts a new error list */
+ // '-' starts a new error list
if (qf_init(wp, tmp, (char_u *)"%f%*\\t%l%*\\t%m",
- *qfpos == '-', cmdline) > 0) {
+ *qfpos == '-', cmdline, NULL) > 0) {
if (postponed_split != 0) {
(void)win_split(postponed_split > 0 ? postponed_split : 0,
postponed_split_flags);