diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-03-24 16:07:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-24 16:07:11 +0100 |
commit | 1b61167373420440535cb975804fd9e728025011 (patch) | |
tree | bdd88851fad1197bc0965647a8525e0fb86b1841 /src/nvim/quickfix.c | |
parent | 84a25770ac4b1c18f0e6bd1e17bdda7eb3c6afa0 (diff) | |
parent | 0ecf7e3a2d3bf4c8062ebf1d462a16d716a37352 (diff) | |
download | rneovim-1b61167373420440535cb975804fd9e728025011.tar.gz rneovim-1b61167373420440535cb975804fd9e728025011.tar.bz2 rneovim-1b61167373420440535cb975804fd9e728025011.zip |
Merge #8168 'refactor: rename some functions'
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 1aeadcec4a..2d8c353f92 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -3649,8 +3649,8 @@ void ex_vimgrep(exarg_T *eap) cur_qf_start = qi->qf_lists[qi->qf_curlist].qf_start; seconds = (time_t)0; - for (fi = 0; fi < fcount && !got_int && tomatch > 0; ++fi) { - fname = path_shorten_fname_if_possible(fnames[fi]); + for (fi = 0; fi < fcount && !got_int && tomatch > 0; fi++) { + fname = path_try_shorten_fname(fnames[fi]); if (time(NULL) > seconds) { /* Display the file name every second or so, show the user we are * working on it. */ |