about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Src/Zle/computil.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c50b3228..9ec3bc581 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-10-03  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* 31781: Src/Zle/computil.c: "compdescribe -i" must clear the
+	completion list column padding width along with the rest of the
+	description state.  Cf. 31782.
+
 2013-09-26  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* 31772: Src/params.c: queue_signals() to prevent re-entry into
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index f8983c3ff..ee3918566 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -465,6 +465,7 @@ cd_init(char *nam, char *hide, char *mlen, char *sep,
     cd_state.showd = disp;
     cd_state.maxg = cd_state.groups = cd_state.descs = 0;
     cd_state.maxmlen = atoi(mlen);
+    cd_state.premaxw = 0;
     itmp = zterm_columns - cd_state.swidth - 4;
     if (cd_state.maxmlen > itmp)
         cd_state.maxmlen = itmp;