Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: small unambiguous string fix



This sometimes inserted an anchor even though there were missing
characters before it. Using the wrong cline-field.

Bye
 Sven

Index: Src/Zle/compresult.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/compresult.c,v
retrieving revision 1.14
diff -u -r1.14 compresult.c
--- Src/Zle/compresult.c	2000/05/12 11:52:30	1.14
+++ Src/Zle/compresult.c	2000/05/19 08:29:14
@@ -105,7 +105,7 @@
 		ls = 1;
 
 		for (p = e; p; p = p->next)
-		    len += p->max;
+		    len += p->min;
 
 		if (len > ((minmlen << 1) / 3))
 		    goto end;

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author