Skip to content

Commit

Permalink
revert format hint (ImageMagick/ImageMagick#6242)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Apr 8, 2023
1 parent c9bf349 commit 299fd34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions magick/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -2827,8 +2827,7 @@ MagickExport MagickBooleanType SetImageInfo(ImageInfo *image_info,
}
}
*extension='\0';
if (*image_info->magick == '\0')
GetPathComponent(image_info->filename,ExtensionPath,extension);
GetPathComponent(image_info->filename,ExtensionPath,extension);
if (*extension != '\0')
{
char
Expand Down

0 comments on commit 299fd34

Please sign in to comment.