From: Cristy Date: Sun, 10 Jun 2018 20:13:57 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/1169 X-Git-Tag: 7.0.7-39~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ab2963fd813efae861961f5e016a01e7416471d;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1169 --- diff --git a/MagickCore/image.c b/MagickCore/image.c index 12ed19903..b48268409 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -884,7 +884,7 @@ MagickExport Image *CloneImage(const Image *image,const size_t columns, sizeof(*clone_image->colormap)); } if (((columns == image->columns) && (rows == image->rows)) || - ((columns == 0) && (rows == 0))) + ((columns == 0) || (rows == 0))) { if (image->montage != (char *) NULL) (void) CloneString(&clone_image->montage,image->montage);