From: Cristy Date: Sat, 13 May 2017 00:17:06 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.5-7~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16a46355481a0c7279703d602d32d57d0dc6c295;p=imagemagick ... --- diff --git a/MagickCore/image.c b/MagickCore/image.c index d1adcb4d4..9936fe17c 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -751,7 +751,7 @@ MagickExport MagickBooleanType ClipImagePath(Image *image,const char *pathname, if (SetImageStorageClass(clip_mask,DirectClass,exception) == MagickFalse) return(MagickFalse); } - if (inside == MagickFalse) + if (inside != MagickFalse) (void) NegateImage(clip_mask,MagickFalse,exception); (void) FormatLocaleString(clip_mask->magick_filename,MagickPathExtent, "8BIM:1999,2998:%s\nPS",pathname);