From ea59d4bcb485222d27c1e747218f06518aba52f0 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Thu, 1 Jun 2017 23:59:41 +0200 Subject: [PATCH] Fixed error message. --- MagickCore/blob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/blob.c b/MagickCore/blob.c index 0c35efcc8..bd6163421 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -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; -- 2.50.1