X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfshape.c;h=51837f2b0c06b44a14c7d8a4cf4f0ecb2879aedf;hb=d67bc214215df3b2a1d13cef25ec18a21d0bb814;hp=caa9e909f5096a5a5e719e3a27321b6c2844199e;hpb=52f047882e8bbdd90d2b37efd374c7d1fc195734;p=swftools.git diff --git a/lib/modules/swfshape.c b/lib/modules/swfshape.c index caa9e90..51837f2 100644 --- a/lib/modules/swfshape.c +++ b/lib/modules/swfshape.c @@ -293,7 +293,7 @@ int swf_ShapeAddFillStyle(SHAPE * s,U8 type,MATRIX * m,RGBA * color,U16 id_bitma if (!s->fillstyle.data) return -1; } - // set fillstyle (no gradients yet!) + // set fillstyle s->fillstyle.data[s->fillstyle.n].type = type; s->fillstyle.data[s->fillstyle.n].id_bitmap = id_bitmap; @@ -423,7 +423,6 @@ int swf_ShapeSetLine(TAG * t,SHAPE * s,S32 x,S32 y) if(b-2 >= 16) { fprintf(stderr, "Bit overflow in swf_ShapeSetLine(1)- %d\n", b); fflush(stdout); - *(int*)0 = 0xdead; b = 17; } swf_SetBits(t, b-2, 4);