diff options
author | James McCoy <jamessan@jamessan.com> | 2017-12-17 20:15:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-17 20:15:12 -0500 |
commit | e6f8b105b00f706ddb8b790a24e37d50711d8dcb (patch) | |
tree | b3208fd9191d6a6c0d257b39ff3a6880ec12f804 /src/nvim/if_cscope.c | |
parent | cca6d4b2674304d544b3880a616fd2ca7df2b891 (diff) | |
parent | db0685a663a7d86d960f22e18f4e8e5041f80833 (diff) | |
download | rneovim-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/if_cscope.c')
-rw-r--r-- | src/nvim/if_cscope.c | 4 |
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); |