From: kramm Date: Sun, 26 Nov 2006 19:41:54 +0000 (+0000) Subject: made id error message more explicit X-Git-Tag: release-0-8-0~110 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=dbc9adb7ae63afb520ab7d048739ef92a18d3b7f;p=swftools.git made id error message more explicit --- 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);