diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-08-16 12:26:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-16 12:26:08 +0100 |
commit | 542fa8a9cc10abb8eddab25a19844d19b94f53c1 (patch) | |
tree | fa29fc00d016beaddd5893336c19d12757e16494 /src/nvim/file_search.c | |
parent | 9a4b8dc603fb9f5a804d69951848e0ff75d0905f (diff) | |
download | rneovim-542fa8a9cc10abb8eddab25a19844d19b94f53c1.tar.gz rneovim-542fa8a9cc10abb8eddab25a19844d19b94f53c1.tar.bz2 rneovim-542fa8a9cc10abb8eddab25a19844d19b94f53c1.zip |
refactor: change pre-decrement/increment to post (#19799)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/file_search.c')
-rw-r--r-- | src/nvim/file_search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c index 176765e6ac..2d09e7aa71 100644 --- a/src/nvim/file_search.c +++ b/src/nvim/file_search.c @@ -307,7 +307,7 @@ void *vim_findfile_init(char_u *path, char_u *filename, char_u *stopdirs, int le search_ctx->ffsc_start_dir = vim_strnsave(rel_fname, len); } if (*++path != NUL) { - ++path; + path++; } } else if (*path == NUL || !vim_isAbsName(path)) { #ifdef BACKSLASH_IN_FILENAME |