summaryrefslogtreecommitdiff
path: root/Src/Zle/complist.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-27 08:23:33 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-27 08:23:33 +0000
commit8974ab59c02a44ef176423bca7f77a717ae4ca1b (patch)
tree75665c8a429de9d25636e3aa30b11ce7f51fddde /Src/Zle/complist.c
parentad31ce0db8118be03843711cfe7cf418835fb114 (diff)
downloadzsh-8974ab59c02a44ef176423bca7f77a717ae4ca1b.tar.gz
zsh-8974ab59c02a44ef176423bca7f77a717ae4ca1b.zip
*** empty log message ***
Diffstat (limited to 'Src/Zle/complist.c')
-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 55887b1de..86a0b1ff6 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1466,7 +1466,7 @@ complistmatches(Hookdef dummy, Chdata dat)
if (mselect >= 0 || mlbeg >= 0 ||
(mlistp = getsparam("LISTPROMPT"))) {
- if (!*mlistp)
+ if (mlistp && !*mlistp)
mlistp = "%SAt %p: Hit TAB for more, or the character to insert%s";
trashzle();
showinglist = listshown = 0;