]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/pull/1326
authorCristy <urban-warrior@imagemagick.org>
Sat, 22 Sep 2018 22:46:50 +0000 (18:46 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 22 Sep 2018 22:47:11 +0000 (18:47 -0400)
MagickCore/property.c

index a5d3f6684126f47b2987162b9c7387cd15e94d4c..2d746d0457e845aa7e4715e12578d0f1b7abbbb3 100644 (file)
@@ -2870,6 +2870,7 @@ MagickExport const char *GetMagickProperty(ImageInfo *image_info,
         }
       if (LocaleCompare("colors",property) == 0)
         {
+          WarnNoImageReturn("\"%%[%s]\"",property);
           image->colors=GetNumberColors(image,(FILE *) NULL,exception);
           (void) FormatLocaleString(value,MaxTextExtent,"%.20g",(double)
             image->colors);