diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-08-15 18:40:04 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-08-15 18:40:04 +0000 |
commit | a15007fe649d748783a166c3a016f2c2cb220b3f (patch) | |
tree | 6f00768b2ee1166bda6257db3ade31b8e28470ec /Src/Zle/compresult.c | |
parent | 8e5061d0c63f1e0b3c71b212fdc380ba0a347a58 (diff) | |
download | zsh-a15007fe649d748783a166c3a016f2c2cb220b3f.tar.gz zsh-a15007fe649d748783a166c3a016f2c2cb220b3f.tar.xz zsh-a15007fe649d748783a166c3a016f2c2cb220b3f.zip |
28167: reset more variables on invalidating completion list
Diffstat (limited to 'Src/Zle/compresult.c')
-rw-r--r-- | Src/Zle/compresult.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 43733b0c6..bdfcfd739 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -2284,6 +2284,8 @@ invalidate_list(void) zsfree(minfo.postbr); minfo.postbr = minfo.prebr = NULL; compwidget = NULL; + nmatches = 0; + amatches = NULL; return 0; } |