Mercurial > hg > xemacs-beta
comparison src/doprnt.c @ 276:6330739388db r21-0b36
Import from CVS: tag r21-0b36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:30:37 +0200 |
parents | c5d627a313b1 |
children | 182f72e8cd0d |
comparison
equal
deleted
inserted
replaced
275:a68ae4439f57 | 276:6330739388db |
---|---|
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) |
655 { | 655 { |
656 strcat (constructed_spec, "."); | 656 strcat (constructed_spec, "."); |
657 sprintf (constructed_spec + strlen (constructed_spec), "%d", | 657 long_to_string (constructed_spec + strlen (constructed_spec), |
658 spec->precision); | 658 spec->precision); |
659 } | 659 } |
660 sprintf (constructed_spec + strlen (constructed_spec), "%c", ch); | 660 sprintf (constructed_spec + strlen (constructed_spec), "%c", ch); |
661 | 661 |
662 /* sprintf the mofo */ | 662 /* sprintf the mofo */ |
663 /* we have to use separate calls to sprintf(), rather than | 663 /* we have to use separate calls to sprintf(), rather than |