From 0a29bcc9f05c2555d2df09c60c2ba1a68e034ba8 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 19 Sep 2009 18:41:31 +0000 Subject: [PATCH] --- magick/decorate.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/magick/decorate.c b/magick/decorate.c index 210d16bcb..bad084c83 100644 --- a/magick/decorate.c +++ b/magick/decorate.c @@ -115,12 +115,6 @@ MagickExport Image *BorderImage(const Image *image, image->rows+2*border_info->height,MagickTrue,exception); if (border_image == (Image *) NULL) return((Image *) NULL); - if (SetImageStorageClass(border_image,DirectClass) == MagickFalse) - { - InheritException(exception,&border_image->exception); - border_image=DestroyImage(border_image); - return((Image *) NULL); - } border_image->background_color=border_image->border_color; if (border_image->background_color.opacity != OpaqueOpacity) border_image->matte=MagickTrue; -- 2.40.0