From: Cristy Date: Sun, 19 Aug 2018 18:16:41 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-11~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f204364cf2b030fd09ca2ec360afbd0bd34b27b6;p=imagemagick ... --- diff --git a/MagickCore/property.c b/MagickCore/property.c index 0b8be369d..4c63bfa7d 100644 --- a/MagickCore/property.c +++ b/MagickCore/property.c @@ -3110,7 +3110,7 @@ MagickExport const char *GetMagickProperty(ImageInfo *image_info, { WarnNoImageReturn("\"%%[%s]\"",property); (void) FormatLocaleString(value,MagickPathExtent,"%.*g", - GetMagickPrecision(),image->colors/image->resolution.x); + GetMagickPrecision(),image->columns/image->resolution.x); break; } if (LocaleCompare("printsize.y",property) == 0)