From 0b662093a790b16ef9dc04c270375f4390398e42 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 27 Feb 2019 15:41:47 -0500 Subject: [PATCH] ... --- MagickCore/attribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/attribute.c b/MagickCore/attribute.c index 14b878153..c3c0fffc7 100644 --- a/MagickCore/attribute.c +++ b/MagickCore/attribute.c @@ -299,7 +299,7 @@ MagickExport RectangleInfo GetImageBoundingBox(const Image *image, blend_factor=GetMinBlendFactor(&edge); for ( ; blend_factor < threshold; blend_factor=GetMinBlendFactor(&edge)) { - if ((width == 0) || (height == 0)) + if ((bounds.width == 0) || (bounds.height == 0)) break; if (fabs(edge.left-blend_factor) < MagickEpsilon) { -- 2.40.0