]> granicus.if.org Git - imagemagick/commitdiff
Fixed error message.
authorDirk Lemstra <dirk@git.imagemagick.org>
Thu, 1 Jun 2017 21:59:41 +0000 (23:59 +0200)
committerDirk Lemstra <dirk@git.imagemagick.org>
Thu, 1 Jun 2017 21:59:41 +0000 (23:59 +0200)
MagickCore/blob.c

index 0c35efcc8cb318f0a698ca7ed0c279704312a570..bd616342145c4ec8bc0b83e89cd28f0869f19653 100644 (file)
@@ -1778,7 +1778,7 @@ MagickExport void ImageToCustomStream(const ImageInfo *image_info,Image *image,
   if (magick_info == (const MagickInfo *) NULL)
     {
       (void) ThrowMagickException(exception,GetMagickModule(),
-        MissingDelegateError,"NoDecodeDelegateForThisImageFormat","`%s'",
+        MissingDelegateError,"NoEncodeDelegateForThisImageFormat","`%s'",
         image->magick);
       blob_info=DestroyImageInfo(blob_info);
       return;
@@ -2176,7 +2176,7 @@ MagickExport void ImagesToCustomStream(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;