about summary refs log tree commit diff
path: root/Src/Zle/complist.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-10-18 11:56:14 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-10-18 11:56:14 +0000
commitb115ca307adf7ef9dca13f6e7ce40768bc0b2b75 (patch)
tree64a7e6568c6f082ae52e2e28e342d82a9947ad29 /Src/Zle/complist.c
parentbc704ef05c532cff4a9ae49a22aa6cd35299cd5b (diff)
downloadzsh-b115ca307adf7ef9dca13f6e7ce40768bc0b2b75.tar.gz
zsh-b115ca307adf7ef9dca13f6e7ce40768bc0b2b75.tar.xz
zsh-b115ca307adf7ef9dca13f6e7ce40768bc0b2b75.zip
20500: Unmetafy patterns where possible and other minor pattern fixes
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r--Src/Zle/complist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 9ef7b6ebc..2b2378a43 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -601,7 +601,7 @@ putmatchcol(Listcols c, char *group, char *n)
 
     for (pc = c->pats; pc; pc = pc->next)
 	if ((!pc->prog || !group || pattry(pc->prog, group)) &&
-	    pattryrefs(pc->pat, n, &nrefs, begpos, endpos)) {
+	    pattryrefs(pc->pat, n, -1, 0, &nrefs, begpos, endpos)) {
 	    if (pc->cols[1]) {
 		patcols = pc->cols;
 
@@ -639,7 +639,7 @@ putfilecol(Listcols c, char *group, char *n, mode_t m)
 
     for (pc = c->pats; pc; pc = pc->next)
 	if ((!pc->prog || !group || pattry(pc->prog, group)) &&
-	    pattryrefs(pc->pat, n, &nrefs, begpos, endpos)) {
+	    pattryrefs(pc->pat, n, -1, 0, &nrefs, begpos, endpos)) {
 	    if (pc->cols[1]) {
 		patcols = pc->cols;