summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-31 06:13:50 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-31 06:13:50 +0000
commitfb6bcb7364f67955dff0cbe3a979d3ab1c6804ac (patch)
treea226933a206ebff348286eba4dbe8e83743d8b07 /Src
parent3beeb8a6fddac8af7dd2a31335c2ce97c3d60e82 (diff)
downloadzsh-fb6bcb7364f67955dff0cbe3a979d3ab1c6804ac.tar.gz
zsh-fb6bcb7364f67955dff0cbe3a979d3ab1c6804ac.tar.xz
zsh-fb6bcb7364f67955dff0cbe3a979d3ab1c6804ac.zip
fix for ignore-line style (11679)
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/compcore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c
index 4fdfaa159..1a18f14e3 100644
--- a/Src/Zle/compcore.c
+++ b/Src/Zle/compcore.c
@@ -1895,6 +1895,10 @@ addmatches(Cadata dat, char **argv)
 		argv = &ms;
 	    }
 	}
+	if (dat->ppre)
+	    ppl = strlen(dat->ppre);
+	if (dat->psuf)
+	    psl = strlen(dat->psuf);
 	for (; (s = *argv); argv++) {
 	    bpl = obpl;
 	    bsl = obsl;