]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Fri, 2 Jun 2017 12:04:38 +0000 (08:04 -0400)
committerCristy <urban-warrior@imagemagick.org>
Fri, 2 Jun 2017 12:05:03 +0000 (08:05 -0400)
MagickCore/annotate.c

index 6392eb024a53b0f8a374600d48875a9e907be68b..2d6a0ea64b88108b504b8dd84acaa76df079cdcf 100644 (file)
@@ -1632,10 +1632,11 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info,
         /*
           Rasterize the glyph.
         */
-        transparent_fill=(draw_info->fill.alpha == TransparentAlpha) &&
+        transparent_fill=((draw_info->fill.alpha == TransparentAlpha) &&
           (draw_info->fill_pattern == (Image *) NULL) &&
           (draw_info->stroke.alpha == TransparentAlpha) &&
-          (draw_info->stroke_pattern == (Image *) NULL);
+          (draw_info->stroke_pattern == (Image *) NULL)) ? MagickTrue :
+          MagickFalse;
         image_view=AcquireAuthenticCacheView(image,exception);
         r=bitmap->bitmap.buffer;
         for (y=0; y < (ssize_t) bitmap->bitmap.rows; y++)