Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jan 31, 2022
1 parent a42870a commit 3fbdf95
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions coders/json.c
Expand Up @@ -1519,8 +1519,7 @@ static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file,
q++;
(void) CopyMagickString(image_info->filename,p,(size_t) (q-p+1));
p=q+1;
JSONFormatLocaleFile(file,"{\n \"name\": %s",
image_info->filename);
JSONFormatLocaleFile(file,"{\n \"name\": %s",image_info->filename);
handler=SetWarningHandler((WarningHandler) NULL);
tile=ReadImage(image_info,exception);
(void) SetWarningHandler(handler);
Expand All @@ -1530,8 +1529,7 @@ static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file,
continue;
}
(void) FormatLocaleFile(file,",\n \"info\": \"%.20gx%.20g %s\"",
(double) tile->magick_columns,(double) tile->magick_rows,
tile->magick);
(double) tile->magick_columns,(double) tile->magick_rows,tile->magick);
(void) SignatureImage(tile,exception);
ResetImagePropertyIterator(tile);
property=GetNextImageProperty(tile);
Expand Down

0 comments on commit 3fbdf95

Please sign in to comment.