From 92637abbb870dc35e1af9150741f7b11587a3350 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 8 May 2000 08:16:32 +0000 Subject: misc. completion cleanups and changes (11242) --- Src/Zle/complist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/complist.c') diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index f6a871f0f..76fbaf58b 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -1589,7 +1589,7 @@ domenuselect(Hookdef dummy, Chdata dat) if ((step += lines - nlnct) < 0) step = 1; } - if ((mstatus = getsparam("MENUPROMPT")) && !*mstatus) + if ((mstatus = dupstring(getsparam("MENUPROMPT"))) && !*mstatus) mstatus = "%SScrolling active: current selection at %p%s"; mhasstat = (mstatus && *mstatus); fdat = dat; -- cgit v1.2.3