From: cristy Date: Tue, 9 Apr 2013 16:52:51 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3907 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc502a1bd2f6e35346f02b0b7c466ac4e280d976;p=imagemagick --- diff --git a/coders/xpm.c b/coders/xpm.c index 10542fa31..018e0f6ed 100644 --- a/coders/xpm.c +++ b/coders/xpm.c @@ -378,7 +378,7 @@ static Image *ReadXPMImage(const ImageInfo *image_info,ExceptionInfo *exception) image->storage_class=DirectClass; image->alpha_trait=BlendPixelTrait; } - status=QueryColorCompliance(target,AllCompliance,&image->colormap[j], + status=QueryColorCompliance(target,XPMCompliance,&image->colormap[j], exception); if (status == MagickFalse) break;