diff 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
line wrap: on
line diff
--- a/src/doprnt.c	Mon Aug 13 11:35:05 2007 +0200
+++ b/src/doprnt.c	Mon Aug 13 11:36:19 2007 +0200
@@ -651,7 +651,7 @@
 		strcat (constructed_spec, " ");
 	      if (spec->number_flag)
 		strcat (constructed_spec, "#");
-	      if (spec->precision >= 0)
+	      if (spec->precision >= 0 && !spec->minwidth)
 		{
 		  strcat (constructed_spec, ".");
 		  long_to_string (constructed_spec + strlen (constructed_spec),