Fix incorrect initialization.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Murai Takashi 2013-12-08 20:06:40 +09:00 committed by Jérôme Duval
parent 5c63f9d60d
commit cddfcf2f87
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ printf_size (FILE *fp, const struct printf_info *info, const void *const *args)
if (special)
{
int width = info->prec > width ? info->prec : width;
int width = info->prec > width ? info->prec : info->width;
if (negative || info->showsign || info->space)
--width;