diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-07-29 14:21:57 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-07-29 14:21:57 +0000 |
commit | efe2876d927b5d028031a6023b622be44c5d5b8a (patch) | |
tree | b2bf41f0a9d4d29850b748948d04706dbde8b566 /Src/Zle/zle_hist.c | |
parent | e1d8ca1d70053e44c3e4950ceafe3f07e6e67d0d (diff) | |
download | zsh-efe2876d927b5d028031a6023b622be44c5d5b8a.tar.gz zsh-efe2876d927b5d028031a6023b622be44c5d5b8a.tar.xz zsh-efe2876d927b5d028031a6023b622be44c5d5b8a.zip |
20219: make zle parameter HISTNO writeable
add history-pattern-search widget
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r-- | Src/Zle/zle_hist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c index 70d8699c0..c6fb7acdb 100644 --- a/Src/Zle/zle_hist.c +++ b/Src/Zle/zle_hist.c @@ -715,6 +715,8 @@ void free_isrch_spots(void) { zfree(isrch_spots, max_spot * sizeof(*isrch_spots)); + max_spot = 0; + isrch_spots = NULL; } /**/ |