diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/complist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index bcf356179..b852ee99f 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -2500,7 +2500,7 @@ domenuselect(Hookdef dummy, Chdata dat) mlbeg--; } } - if ((space = zterm_lines - pl - mhasstat)) + if ((space = zterm_lines - pl - mhasstat) > 0) while (mline >= mlbeg + space) if ((mlbeg += step) + space > mlines) mlbeg = mlines - space; |