From 0c38ae55173384e633408067dc1a40d38dd9bd9c Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 27 Oct 2009 14:11:11 +0000 Subject: [PATCH] --- coders/png.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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); -- 2.50.1