Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jan 26, 2025
1 parent cb2e860 commit 0d4d4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wand/mogrify.c
Original file line number Diff line number Diff line change
Expand Up @@ -8834,7 +8834,7 @@ WandExport MagickBooleanType MogrifyImageList(ImageInfo *image_info,
if ((p == (Image *) NULL) || (q == (Image *) NULL))
{
(void) ThrowMagickException(exception,GetMagickModule(),
OptionError,"NoSuchImage","`%s'",(*images)->filename);
OptionError,"InvalidImageIndex","`%s'",(*images)->filename);
status=MagickFalse;
break;
}
Expand Down

0 comments on commit 0d4d4e9

Please sign in to comment.