From f8f161d61d6e36d027d44cd98002b822e4217add Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 1 Oct 2016 10:25:53 -0400 Subject: [PATCH] ... --- coders/xcf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/coders/xcf.c b/coders/xcf.c index f5ea575cd..1525f40fb 100644 --- a/coders/xcf.c +++ b/coders/xcf.c @@ -1326,8 +1326,7 @@ static Image *ReadXCFImage(const ImageInfo *image_info,ExceptionInfo *exception) saved_pos=TellBlob(image); /* seek to the layer offset */ if (SeekBlob(image,offset,SEEK_SET) != offset) - ThrowBinaryException(CorruptImageError,"NotEnoughPixelData", - image->filename); + ThrowReaderException(CorruptImageError,"NotEnoughPixelData"); /* read in the layer */ layer_ok=ReadOneLayer(image_info,image,&doc_info, &layer_info[current_layer],current_layer,exception); -- 2.49.0