X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfshape.c;h=deb9b3a6b858345d71ba3f1d5abb8b6d0cebb3d3;hb=3e8c263456822a1f6d47ac7ac2133b2d631f2431;hp=d51f51072660534636e5f30fbbd35577d197668f;hpb=9e546e0ca2d4472b77020cfc745f281b7864e6f9;p=swftools.git diff --git a/lib/modules/swfshape.c b/lib/modules/swfshape.c index d51f510..deb9b3a 100644 --- a/lib/modules/swfshape.c +++ b/lib/modules/swfshape.c @@ -474,7 +474,7 @@ int swf_ShapeSetCurve(TAG * t,SHAPE * s,S32 x,S32 y,S32 ax,S32 ay) if(b >= 18) { fprintf(stderr, "Bit overflow in swf_ShapeSetCurve- %d (%d,%d,%d,%d)\n", b, ax,ay,x,y); - b = 17; + return swf_ShapeSetLine(t, s, x+ax, y+ay); } swf_SetBits(t,2,2);