From a6a505d8493ff6cdaaea2ea3879a273edaca087f Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 30 Sep 2017 13:40:54 +0200 Subject: [PATCH] Fixed clipping path issue in json output reported in #149. --- coders/json.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/coders/json.c b/coders/json.c index 87154589e..df380b7dd 100644 --- a/coders/json.c +++ b/coders/json.c @@ -1543,9 +1543,7 @@ static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file, /* Display clipping path. */ - (void) FormatLocaleFile(file," \"clipping path\": {\n"); - JsonFormatLocaleFile(file,"%s\n",value); - (void) FormatLocaleFile(file," },\n"); + JsonFormatLocaleFile(file," \"clipping path\": %s,\n",value); } ResetImageProfileIterator(image); name=GetNextImageProfile(image); -- 2.40.0