From: Cristy Date: Fri, 16 Feb 2018 23:34:12 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-23~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e391d528a857af7140f59625161acff1de6aa51f;p=imagemagick ... --- diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 32b0aa6fc..99495b701 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -5790,6 +5790,7 @@ static size_t TracePath(PrimitiveInfo *primitive_info,const char *path) TraceBezier(q,4); q+=q->coordinates; point=end; + last_attribute=attribute; while (isspace((int) ((unsigned char) *p)) != 0) p++; if (*p == ',') @@ -5832,6 +5833,7 @@ static size_t TracePath(PrimitiveInfo *primitive_info,const char *path) TraceBezier(q,3); q+=q->coordinates; point=end; + last_attribute=attribute; while (isspace((int) ((unsigned char) *p)) != 0) p++; if (*p == ',')