diff options
| author | Bart Schaefer <schaefer@zsh.org> | 2022-06-03 20:08:15 -0700 |
|---|---|---|
| committer | Bart Schaefer <schaefer@zsh.org> | 2022-06-03 20:08:15 -0700 |
| commit | 3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54 (patch) | |
| tree | bcedb379eb8a3a99aec145e86ff690fd9f25084b /Src/Zle/compmatch.c | |
| parent | 50306: fix wait for child that was stopped/continued (diff) | |
| download | zsh-3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54.tar zsh-3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54.tar.gz zsh-3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54.tar.bz2 zsh-3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54.tar.lz zsh-3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54.tar.xz zsh-3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54.tar.zst zsh-3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54.zip | |
50325: revert 38150 and fix in calling function cfp_matcher_range() instead
Diffstat (limited to 'Src/Zle/compmatch.c')
| -rw-r--r-- | Src/Zle/compmatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index bb8359f1d..56e5509a4 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1319,7 +1319,7 @@ pattern_match_equivalence(Cpattern lp, convchar_t wind, int wmtp, convchar_t lchr; int lmtp; - if (!PATMATCHINDEX(lp->u.str, wind, &lchr, &lmtp)) { + if (!PATMATCHINDEX(lp->u.str, wind-1, &lchr, &lmtp)) { /* * No equivalent. No possible match; give up. */ |
