From: kramm Date: Sat, 18 Dec 2004 16:54:06 +0000 (+0000) Subject: swf_GetBBox() now returns a zeroed out bbox if the tag doesn't have a bbox. X-Git-Tag: release-0-6-3~87 X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=2c304be7c0bd1a137fc8c59c6a1f809198042a2e;p=swftools.git swf_GetBBox() now returns a zeroed out bbox if the tag doesn't have a bbox. --- diff --git a/lib/modules/swftools.c b/lib/modules/swftools.c index 29b3631..5526d31 100644 --- a/lib/modules/swftools.c +++ b/lib/modules/swftools.c @@ -136,6 +136,7 @@ SRECT swf_GetDefineBBox(TAG * t) U32 oldTagPos; U16 id = 0; SRECT b1,b2; + memset(&b1, 0, sizeof(b1)); oldTagPos = swf_GetTagPos(t); swf_SetTagPos(t,0);