From df835cab05765a630227dc04fa2245a78fd2f204 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 10 Jul 2019 08:27:29 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/1631 --- MagickCore/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/draw.c b/MagickCore/draw.c index a4297758f..02bc17bea 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -2509,7 +2509,7 @@ static MagickBooleanType RenderMVGContent(Image *image, return(MagickFalse); } if ((*draw_info->primitive == '@') && (strlen(draw_info->primitive) > 1) && - (*(draw_info->primitive+1) != '-') && (depth == 1)) + (*(draw_info->primitive+1) != '-') && (depth == 0)) primitive=FileToString(draw_info->primitive+1,~0UL,exception); else primitive=AcquireString(draw_info->primitive); -- 2.40.0