diff options
author | John <john.schmidt.h@gmail.com> | 2014-04-13 20:30:53 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-29 09:24:34 -0300 |
commit | 42efbfd2fde0942cc7826993191206c24a34b555 (patch) | |
tree | b0cb7c94f06626734da396e20b2ee2f10c300340 /src/quickfix.c | |
parent | c57002a7c34a553f68eeb65fa6e5b1e3a9e3ad24 (diff) | |
download | rneovim-42efbfd2fde0942cc7826993191206c24a34b555.tar.gz rneovim-42efbfd2fde0942cc7826993191206c24a34b555.tar.bz2 rneovim-42efbfd2fde0942cc7826993191206c24a34b555.zip |
Test and refactor `shorten_fname` and `shorten_fname1`
Rename `shorten_fname` -> `path_shorten_fname`
Rename `shorten_fname1` -> `path_shorten_fname_if_possible`
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index cfbe07ac87..c98b43fff6 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -2859,7 +2859,7 @@ void ex_vimgrep(exarg_T *eap) seconds = (time_t)0; for (fi = 0; fi < fcount && !got_int && tomatch > 0; ++fi) { - fname = shorten_fname1(fnames[fi]); + fname = path_shorten_fname_if_possible(fnames[fi]); if (time(NULL) > seconds) { /* Display the file name every second or so, show the user we are * working on it. */ |