about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-19 08:33:06 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-19 08:33:06 +0000
commit7672efed2e75e70fd9dbe0c51ef661622f5e5091 (patch)
tree0dcf30386128c018c11c8ef46f4ec95a8dcc7c9c /Src
parentf9e65c2b1f448cd27c597ec727b63bebde2fbdff (diff)
downloadzsh-7672efed2e75e70fd9dbe0c51ef661622f5e5091.tar.gz
zsh-7672efed2e75e70fd9dbe0c51ef661622f5e5091.tar.xz
zsh-7672efed2e75e70fd9dbe0c51ef661622f5e5091.zip
fix for unambiguous string insertion (11466)
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/compresult.c2
1 files changed, 1 insertions, 1 deletions
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;