From d0393a47265c7e6a3607da71445a4617c63decc3 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 19 Jan 2014 15:11:45 +0000 Subject: [PATCH] --- MagickCore/identify.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.50.1