Skip to content

Commit

Permalink
eliminate compiler exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Sep 4, 2022
1 parent dce2fa2 commit e7c2ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magick/annotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,8 @@ MagickExport MagickBooleanType GetMultilineTypeMetrics(Image *image,
assert(draw_info->signature == MagickCoreSignature);
if (*draw_info->text == '\0')
{
(void) ThrowMagickException(exception,GetMagickModule(),OptionError,
"LabelExpected","`%s'",image->filename);
(void) ThrowMagickException(&image->exception,GetMagickModule(),
OptionError,"LabelExpected","`%s'",image->filename);
return(MagickFalse);
}
annotate_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
Expand Down

0 comments on commit e7c2ba5

Please sign in to comment.