From 55738a79cabeabcec9d245051079e5d74b47e717 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 24 Aug 2001 12:14:41 +0000 Subject: (15705) --- Src/Zle/complete.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Src/Zle/complete.c') diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c index e63286974..5f034a4a9 100644 --- a/Src/Zle/complete.c +++ b/Src/Zle/complete.c @@ -1054,6 +1054,9 @@ set_compstate(Param pm, HashTable ht) struct value v; char *str; + if (!ht) + return; + for (i = 0; i < ht->hsize; i++) for (hn = ht->nodes[i]; hn; hn = hn->next) for (cp = compkparams, -- cgit 1.4.1