Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: small unambiguous string fix
- X-seq: zsh-workers 11466
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: small unambiguous string fix
- Date: Fri, 19 May 2000 10:30:04 +0200 (MET DST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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