Skip to content

Commit

Permalink
correct exception tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Aug 3, 2023
1 parent 7aacae6 commit 2624ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magick/blob.c
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ MagickExport unsigned char *ImageToBlob(const ImageInfo *image_info,
if (magick_info == (const MagickInfo *) NULL)
{
(void) ThrowMagickException(exception,GetMagickModule(),
MissingDelegateError,"NoDecodeDelegateForThisImageFormat","`%s'",
MissingDelegateError,"NoEncodeDelegateForThisImageFormat","`%s'",
image->magick);
blob_info=DestroyImageInfo(blob_info);
return(blob);
Expand Down Expand Up @@ -2002,7 +2002,7 @@ MagickExport unsigned char *ImagesToBlob(const ImageInfo *image_info,
if (magick_info == (const MagickInfo *) NULL)
{
(void) ThrowMagickException(exception,GetMagickModule(),
MissingDelegateError,"NoDecodeDelegateForThisImageFormat","`%s'",
MissingDelegateError,"NoEncodeDelegateForThisImageFormat","`%s'",
images->magick);
blob_info=DestroyImageInfo(blob_info);
return(blob);
Expand Down

0 comments on commit 2624ce3

Please sign in to comment.