From: kramm Date: Fri, 29 Apr 2005 08:45:50 +0000 (+0000) Subject: fixed a bug occuring when shapes are entirely outside of the viewport X-Git-Tag: release-0-7-0~121 X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=764b4382266a88ea82758d51db38107eba68e866;hp=b0ad0b5b883227e3dfc331b7da3dff2b0e52538b;p=swftools.git fixed a bug occuring when shapes are entirely outside of the viewport --- diff --git a/lib/modules/swfrender.c b/lib/modules/swfrender.c index 237b449..e085937 100644 --- a/lib/modules/swfrender.c +++ b/lib/modules/swfrender.c @@ -832,6 +832,8 @@ void swf_Process(RENDERBUF*dest, U32 clipdepth) endx = i->width2; if(startx < 0) startx = 0; + if(endx < 0) + endx = 0; if(clipdepth) { /* for clipping, the inverse is filled */