From: cristy Date: Sun, 19 Jan 2014 15:11:45 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2823 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0393a47265c7e6a3607da71445a4617c63decc3;p=imagemagick --- diff --git a/MagickCore/identify.c b/MagickCore/identify.c index 53d2f7b15..e99f0f188 100644 --- a/MagickCore/identify.c +++ b/MagickCore/identify.c @@ -893,8 +893,9 @@ MagickExport MagickBooleanType IdentifyImage(Image *image,FILE *file, if (ping == MagickFalse) { if (image->colorspace == CMYKColorspace) - (void) FormatLocaleFile(file," Total ink density: %.20g%%\n",100.0* - GetImageTotalInkDensity(image,exception)/(double) QuantumRange); + (void) FormatLocaleFile(file," Total ink density: %*g%%\n", + GetMagickPrecision(),100.0*GetImageTotalInkDensity(image,exception)/ + (double) QuantumRange); x=0; if (image->alpha_trait == BlendPixelTrait) {