From: kramm Date: Sun, 18 Mar 2007 18:22:39 +0000 (+0000) Subject: fixed bug in cxform filler stub X-Git-Tag: release-0-8-1~18 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=6a92be2177bbe5649327c75500b4e770372b8980 fixed bug in cxform filler stub --- diff --git a/lib/devices/swf.c b/lib/devices/swf.c index b12f27b..67fd829 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -1844,10 +1844,10 @@ static CXFORM gfxcxform_to_cxform(gfxcxform_t* c) cx.r0 = (S16)(c->rr*256); cx.g0 = (S16)(c->gg*256); cx.b0 = (S16)(c->bb*256); - cx.a1 = c->t.a; - cx.r1 = c->t.r; - cx.g1 = c->t.g; - cx.b1 = c->t.b; + cx.a1 = c->ta; + cx.r1 = c->tr; + cx.g1 = c->tg; + cx.b1 = c->tb; return cx; }