diff options
author | Bart Schaefer <schaefer@ipost.com> | 2021-02-04 17:52:22 -0800 |
---|---|---|
committer | Bart Schaefer <schaefer@ipost.com> | 2021-02-04 17:52:22 -0800 |
commit | 465738fc2594ac4629de341738a106184858c678 (patch) | |
tree | 8a5821b69fe7fc84215d26cde0f6c1b7b49e4775 /Src/builtin.c | |
parent | b803fbaa145e2d6eb7a427749fc03e3ead4da913 (diff) | |
download | zsh-465738fc2594ac4629de341738a106184858c678.tar.gz zsh-465738fc2594ac4629de341738a106184858c678.tar.xz zsh-465738fc2594ac4629de341738a106184858c678.zip |
47895: Remove trailing spaces from "print -ac" output lines.
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 09eb3728c..35a0fb2db 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4822,7 +4822,7 @@ bin_print(char *name, char **args, Options ops, int func) { fwrite(args[n], len[n], 1, fout); l = widths[n]; - if (n < argc) + if (n < argc && ic < nc - 1) for (; l < sc; l++) fputc(' ', fout); } |