From 3e8c263456822a1f6d47ac7ac2133b2d631f2431 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Wed, 7 Oct 2009 17:09:31 -0700 Subject: [PATCH] revert to lines for bit overflows in curves --- lib/modules/swfshape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.4