]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 19 Aug 2018 18:16:41 +0000 (14:16 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 19 Aug 2018 18:16:41 +0000 (14:16 -0400)
MagickCore/property.c

index 0b8be369de8d8d327cb4d21ada80b432826eca20..4c63bfa7d09de3659e51841d05f30083f0289c30 100644 (file)
@@ -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)