From 7672efed2e75e70fd9dbe0c51ef661622f5e5091 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 19 May 2000 08:33:06 +0000 Subject: fix for unambiguous string insertion (11466) --- ChangeLog | 4 +++- Src/Zle/compresult.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 098a120a3..11de2d23d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,12 @@ 2000-05-19 Sven Wischnowsky + * 11466: Src/Zle/compresult.c: fix for unambiguous string insertion + * 11464: Completion/Base/_arguments, Completion/Core/_approximate, Completion/Core/_files, Completion/Core/_multi_parts, Completion/Core/_sep_parts, Completion/Debian/_apt, Completion/User/_enscript, Completion/User/_finger, - Completion/User/_urls, Completion/X/_xutils:don't use $match for + Completion/User/_urls, Completion/X/_xutils: don't use $match for something different than (#b)ackrefs 2000-05-18 Sven Wischnowsky diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 5537f88ce..531017afb 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -105,7 +105,7 @@ cut_cline(Cline l) ls = 1; for (p = e; p; p = p->next) - len += p->max; + len += p->min; if (len > ((minmlen << 1) / 3)) goto end; -- cgit 1.4.1