diff options
| author | Wayne Davison <wayned@users.sourceforge.net> | 2005-08-08 23:06:20 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@users.sourceforge.net> | 2005-08-08 23:06:20 +0000 |
| commit | 756bea5ffa96d32c58be7fb731cd73e32d5672e3 (patch) | |
| tree | f1279f5b2db24bc5b81d335786a5256f04b0ce3f | |
| parent | 21576: test for 21575 (diff) | |
| download | zsh-756bea5ffa96d32c58be7fb731cd73e32d5672e3.tar zsh-756bea5ffa96d32c58be7fb731cd73e32d5672e3.tar.gz zsh-756bea5ffa96d32c58be7fb731cd73e32d5672e3.tar.bz2 zsh-756bea5ffa96d32c58be7fb731cd73e32d5672e3.tar.lz zsh-756bea5ffa96d32c58be7fb731cd73e32d5672e3.tar.xz zsh-756bea5ffa96d32c58be7fb731cd73e32d5672e3.tar.zst zsh-756bea5ffa96d32c58be7fb731cd73e32d5672e3.zip | |
Fixed a recently-introduced bug where printf %b with an empty arg
would output a single space instead of nothing.
| -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 b17b6d4aa..de1cb68e4 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -3774,7 +3774,7 @@ bin_print(char *name, char **args, Options ops, int func) flen = c - fmt + 1; fmttrunc = 1; } - } else + } else if (width) count += fprintf(fout, "%*c", width, ' '); break; case 'q': |
