From 1416862b6311f67848a35ea5b4cc8ed7d5fb7fbc Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 16 Jun 2000 07:52:05 +0000 Subject: allow completion after `a{{b,c},'; fix for closing brace re-insertion when completing from both ends (CLF_MID) (11939) --- Src/Zle/compmatch.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Src/Zle/compmatch.c') diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index 180dce5df..130cb23b0 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1608,6 +1608,7 @@ join_psfx(Cline ot, Cline nt, Cline *orest, Cline *nrest, int sfx) continue; } + o->llen = o->llen - ot->slen; join = 1; line = 0; slen = &(o->wlen); sstr = &(o->word); } if (join) { -- cgit 1.4.1