diff options
Diffstat (limited to 'Src')
-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 9bef1cfeb..836dcdd45 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -562,7 +562,7 @@ match_str(char *l, char *w, Brinfo *bpp, int bc, int *rwlp, wexact += 1 + bslash; if (!test) while (bp && bc >= (useqbr ? bp->qpos : bp->pos)) { - bp->curpos = matchbufadded + (sfx ? (ow - w) : (w - ow)) + obc; + bp->curpos = matchbufadded + (w - ow) + obc; bp = bp->next; } lm = NULL; |