diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/Zle/compcore.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9af3d33ea..e15903a44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-05-31 Sven Wischnowsky <wischnow@zsh.org> + * 11679: Src/Zle/compcore.c: fix for ignore-line style + * 11678: Completion/Base/_arguments: avoid reporting the same ->state more than once 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; |