From dbc9adb7ae63afb520ab7d048739ef92a18d3b7f Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 26 Nov 2006 19:41:54 +0000 Subject: [PATCH] made id error message more explicit --- lib/devices/swf.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 99a2240..ad897fd 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -247,8 +247,10 @@ static U16 getNewID(gfxdevice_t* dev) { swfoutput_internal*i = (swfoutput_internal*)dev->internal; if(i->currentswfid == 65535) { - if(!id_error) + if(!id_error) { msg(" ID Table overflow"); + msg(" This file is too complex to render- SWF only supports 65536 shapes at once"); + } id_error=1; i->overflow = 1; exit(1); @@ -259,8 +261,10 @@ static U16 getNewDepth(gfxdevice_t* dev) { swfoutput_internal*i = (swfoutput_internal*)dev->internal; if(i->depth == 65535) { - if(!id_error) + if(!id_error) { msg(" Depth Table overflow"); + msg(" This file is too complex to render- SWF only supports 65536 shapes at once"); + } id_error=1; i->overflow = 1; exit(1); -- 1.7.10.4