comparison src/doprnt.c @ 444:576fb035e263 r21-2-37

Import from CVS: tag r21-2-37
author cvs
date Mon, 13 Aug 2007 11:36:19 +0200
parents abe6d1db359e
children 1ccc32a20af4
comparison
equal deleted inserted replaced
443:a8296e22da4e 444:576fb035e263
649 strcat (constructed_spec, "+"); 649 strcat (constructed_spec, "+");
650 if (spec->space_flag) 650 if (spec->space_flag)
651 strcat (constructed_spec, " "); 651 strcat (constructed_spec, " ");
652 if (spec->number_flag) 652 if (spec->number_flag)
653 strcat (constructed_spec, "#"); 653 strcat (constructed_spec, "#");
654 if (spec->precision >= 0) 654 if (spec->precision >= 0 && !spec->minwidth)
655 { 655 {
656 strcat (constructed_spec, "."); 656 strcat (constructed_spec, ".");
657 long_to_string (constructed_spec + strlen (constructed_spec), 657 long_to_string (constructed_spec + strlen (constructed_spec),
658 spec->precision); 658 spec->precision);
659 } 659 }