about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-04-02 13:58:19 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-04-02 13:58:19 +0000
commit54949051daa89260b53b12fb571c59a855cdc76a (patch)
tree0e6e275919ffe3c422f6b633a12387d35837e5c5 /Src
parenta35302ebd4b02996481da9f13838125c201a6af3 (diff)
downloadzsh-54949051daa89260b53b12fb571c59a855cdc76a.tar.gz
zsh-54949051daa89260b53b12fb571c59a855cdc76a.tar.xz
zsh-54949051daa89260b53b12fb571c59a855cdc76a.zip
23258: fix debugging added in 23248
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/complist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index d379874f2..40bfdfe05 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -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';