From: Cristy Date: Sat, 22 Sep 2018 22:46:50 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/pull/1326 X-Git-Tag: 7.0.8-12~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e80a3ef4d0a26e89cf7e59ce6c47611ddcd7c6ba;p=imagemagick https://github.com/ImageMagick/ImageMagick/pull/1326 --- diff --git a/MagickCore/property.c b/MagickCore/property.c index a5d3f6684..2d746d045 100644 --- a/MagickCore/property.c +++ b/MagickCore/property.c @@ -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);