From ffc7112e6463bdbdec708696ee6f2b2ea1b32619 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 6 May 2018 08:05:28 -0400 Subject: [PATCH] ... --- MagickCore/draw.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MagickCore/draw.c b/MagickCore/draw.c index e9ec1ca4a..af8f59b13 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -343,16 +343,16 @@ MagickExport DrawInfo *CloneDrawInfo(const ImageInfo *image_info, (void) memcpy(clone_info->gradient.stops,draw_info->gradient.stops, (size_t) number_stops*sizeof(*clone_info->gradient.stops)); } - if (draw_info->clip_mask != (char *) NULL) - (void) CloneString(&clone_info->clip_mask,draw_info->clip_mask); clone_info->bounds=draw_info->bounds; - clone_info->clip_units=draw_info->clip_units; clone_info->fill_alpha=draw_info->fill_alpha; clone_info->stroke_alpha=draw_info->stroke_alpha; clone_info->element_reference=draw_info->element_reference; + if (draw_info->clip_mask != (char *) NULL) + (void) CloneString(&clone_info->clip_mask,draw_info->clip_mask); if (draw_info->clipping_mask != (Image *) NULL) - clone_info->clipping_mask=CloneImage(draw_info->clipping_mask,0,0,MagickTrue, - exception); + clone_info->clipping_mask=CloneImage(draw_info->clipping_mask,0,0, + MagickTrue,exception); + clone_info->clip_units=draw_info->clip_units; clone_info->render=draw_info->render; clone_info->debug=IsEventLogging(); exception=DestroyExceptionInfo(exception); -- 2.40.0