diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-08-25 14:30:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 14:30:12 +0100 |
commit | 99f8d34c8a7128a9adb43168ca5364ccbd568333 (patch) | |
tree | 0a28a1505debe6e4d1025f9c518a7b0fe1ab769c /src/nvim/path.c | |
parent | cd2d3aa48f3531103a3a355d76394301e7b074df (diff) | |
parent | 93f24403f8cc760ff47979c596976b53a8b16358 (diff) | |
download | rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.tar.gz rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.tar.bz2 rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.zip |
Merge pull request #19934 from lewis6991/prepostincr
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r-- | src/nvim/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index ce0a7fb281..3b3156bc73 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -663,7 +663,7 @@ static size_t do_path_expand(garray_T *gap, const char_u *path, size_t wildoff, // Now we have one wildcard component between "s" and "e". /* Remove backslashes between "wildoff" and the start of the wildcard * component. */ - for (p = buf + wildoff; p < s; ++p) { + for (p = buf + wildoff; p < s; p++) { if (rem_backslash(p)) { STRMOVE(p, p + 1); e--; @@ -672,7 +672,7 @@ static size_t do_path_expand(garray_T *gap, const char_u *path, size_t wildoff, } // Check for "**" between "s" and "e". - for (p = s; p < e; ++p) { + for (p = s; p < e; p++) { if (p[0] == '*' && p[1] == '*') { starstar = true; } |