diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/complist.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 651a22b68..ff3650a79 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -1529,11 +1529,7 @@ clprintm(Cmgroup g, Cmatch *mp, int mc, int ml, int lastc, int width) } } if (!dolist(ml)) { - int nc = printfmt(m->disp, 0, 0, 0); - if (nc) - mlprinted = (nc - 1) / columns; - else - mlprinted = 0; + mlprinted = printfmt(m->disp, 0, 0, 0); return 0; } if (m->gnum == mselect) { |