diff options
Diffstat (limited to 'stdio-common/vfprintf.c')
-rw-r--r-- | stdio-common/vfprintf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index 63a5148463..e22403be22 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -497,11 +497,9 @@ vfprintf (s, format, ap) case 'c': /* Character. */ + --specs[cnt].info.width;/* Account for the character itself. */ if (!specs[cnt].info.left) - { - --specs[cnt].info.width; - PAD (' '); - } + PAD (' '); outchar ((unsigned char) args_value[specs[cnt].data_arg].pa_char); if (specs[cnt].info.left) PAD (' '); |