From 0d6350d65a856b74000393dd4c4f5453e8801444 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 3 May 2000 11:52:00 +0000 Subject: remove backslashes before `$' in _expand when `substitute' is unset; fix for clearing end-of-list lines in menu-selection (11110) --- Src/Zle/complist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle') diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 527cd9825..f6a871f0f 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -985,7 +985,7 @@ compprintlist(int showall) lastml = 0; } cl = (listdat.nlines > lines - nlnct - mhasstat ? - lines - nlnct - mhasstat : listdat.nlines); + lines - nlnct - mhasstat : listdat.nlines) - 1; mrestlines = lines - 1; if (cl < 2) { -- cgit 1.4.1