about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Src/Zle/complist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index c8d1914e3..32a2d99f3 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -916,7 +916,7 @@ domenuselect(Hookdef dummy, Chdata dat)
 		s->nbrbeg = nbrbeg;
 		s->nbrend = nbrend;
 		s->nmatches = nmatches;
-		menucmp = menuacc = 0;
+		menucmp = menuacc = hasoldlist = 0;
 		fixsuffix();
 		validlist = 0;
 		amatches = pmatches = lastmatches = NULL;