From: cristy Date: Tue, 27 Oct 2009 14:11:11 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~10443 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c38ae55173384e633408067dc1a40d38dd9bd9c;p=imagemagick --- diff --git a/coders/png.c b/coders/png.c index d2f75c3b3..17c98ace0 100644 --- a/coders/png.c +++ b/coders/png.c @@ -1754,11 +1754,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info, (void) LogMagickEvent(CoderEvent,GetMagickModule(), " exit ReadOnePNGImage() with error."); if (image != (Image *) NULL) - { - if (image->exception.severity > exception->severity) - InheritException(exception,&image->exception); - image->columns=0; - } + image->columns=0; return(GetFirstImageInList(image)); } /* @@ -2289,11 +2285,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info, (void) LogMagickEvent(CoderEvent,GetMagickModule(), " exit ReadOnePNGImage() with error."); if (image != (Image *) NULL) - { - if (image->exception.severity > exception->severity) - InheritException(exception,&image->exception); - image->columns=0; - } + image->columns=0; return(GetFirstImageInList(image)); } quantum_info=AcquireQuantumInfo(image_info,image);