From e87b35c04ea6bfda7a0dbada9e3629343e71d4a1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 6 Oct 2006 10:07:37 +0000 Subject: 10791: fix handling of long accumulated completion line --- Src/Zle/compresult.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/compresult.c') diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index e28212c19..57510cd03 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -2126,7 +2126,7 @@ bld_all_str(Cmatch all) if (add) strcat(buf, " "); strcat(buf, m->str); - len -= t; + len -= t + add; add = 1; } else { if (len > add + 2) { -- cgit 1.4.1