diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-10-06 16:49:27 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-10-06 16:49:27 +0000 |
commit | e9fbed31698ef0591c53248f60e922cd8ae3bf2d (patch) | |
tree | ae6bd36c7d6507031bd6d1d5e9280ccdcc74c101 /Src | |
parent | 3cd621b7a3fb66c212d0fcd692fc2204aa0852a6 (diff) | |
download | zsh-e9fbed31698ef0591c53248f60e922cd8ae3bf2d.tar.gz zsh-e9fbed31698ef0591c53248f60e922cd8ae3bf2d.tar.xz zsh-e9fbed31698ef0591c53248f60e922cd8ae3bf2d.zip |
22820: this time, fix handling of long accumulated completion line
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/compresult.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 94c651101..213189f11 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -2069,7 +2069,7 @@ bld_all_str(Cmatch all) if (add) strcat(buf, " "); strcat(buf, m->str); - len -= t + add; + len -= t; add = 1; } else { if (len > add + 2) { @@ -2077,7 +2077,7 @@ bld_all_str(Cmatch all) strcat(buf, " "); strncat(buf, m->str, len); } - strcat(buf, " ..."); + strcat(buf, "..."); break; } } |