zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: small fix for compadd -X
@ 1999-03-03 11:50 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 1999-03-03 11:50 UTC (permalink / raw)
  To: zsh-workers


While playing with this I discovered that matches added with `compadd' 
without a `-X' got counted to the last `-X' that was used.

Bye
 Sven

--- os/Zle/zle_tricky.c	Wed Mar  3 11:46:45 1999
+++ Src/Zle/zle_tricky.c	Wed Mar  3 12:34:24 1999
@@ -4302,7 +4302,7 @@
 		cm->rems = rems;
 		addlinknode(l, cm);
 
-		if (expl) {
+		if (exp) {
 		    if (l == matches)
 			expl->count++;
 		    else

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-03 11:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-03 11:50 PATCH: small fix for compadd -X Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).