23258: fix debugging added in 23248

This commit is contained in:
Peter Stephenson 2007-04-02 13:58:19 +00:00
parent a35302ebd4
commit 54949051da
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2007-04-02 Peter Stephenson <pws@csr.com>
* 23258: Src/Zle/complist.c: debugging added in 23248
was overaggressive.
* 23257: Src/subst.c: buffer too short for multibyte
${(#)...} evaluation.

View File

@ -1585,7 +1585,8 @@ clprintm(Cmgroup g, Cmatch *mp, int mc, int ml, int lastc, int width)
Cmatch m;
int len, subcols = 0, stop = 0, ret = 0;
DPUTS2(ml >= mlines, "clprintm called with ml too large (%d/%d)",
DPUTS2(mselect >= 0 && ml >= mlines,
"clprintm called with ml too large (%d/%d)",
ml, mlines);
if (g != last_group)
*last_cap = '\0';