diff 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
line wrap: on
line diff
--- a/src/doprnt.c	Mon Aug 13 10:29:43 2007 +0200
+++ b/src/doprnt.c	Mon Aug 13 10:30:37 2007 +0200
@@ -654,8 +654,8 @@
 	      if (spec->precision >= 0)
 		{
 		  strcat (constructed_spec, ".");
-		  sprintf (constructed_spec + strlen (constructed_spec), "%d",
-			   spec->precision);
+		  long_to_string (constructed_spec + strlen (constructed_spec),
+				  spec->precision);
 		}
 	      sprintf (constructed_spec + strlen (constructed_spec), "%c", ch);