diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-02 13:58:40 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-02 13:58:40 +0000 |
commit | 87e290b4a3ea85ab29b5a3d7292b61cb754a9501 (patch) | |
tree | a8f853730602671d98dce1117bb854c78103bcad /Src/Zle/compresult.c | |
parent | 5124df6cd95725c17b1fbdb662fe5d3b30e2ea28 (diff) | |
download | zsh-87e290b4a3ea85ab29b5a3d7292b61cb754a9501.tar.gz zsh-87e290b4a3ea85ab29b5a3d7292b61cb754a9501.tar.xz zsh-87e290b4a3ea85ab29b5a3d7292b61cb754a9501.zip |
zsh-workers/8490
Diffstat (limited to 'Src/Zle/compresult.c')
-rw-r--r-- | Src/Zle/compresult.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index fe997b12b..70be906db 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -1042,7 +1042,7 @@ do_ambig_menu(void) } else { if (oldlist) { if (oldins && minfo.cur) - acceptlast(); + accept_last(); } else minfo.cur = NULL; } @@ -1798,10 +1798,11 @@ printlist(int over, CLPrintFunc printm) q = skipnolist(q + 1); mc++; } - while (i-- > 0) - printm(g, NULL, mc++, ml, (!i), + while (i-- > 0) { + printm(g, NULL, mc, ml, (!i), (g->widths ? g->widths[mc] : g->width), NULL, NULL); - + mc++; + } if (n) { putc('\n', shout); ml++; |