X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfshape.c;fp=lib%2Fmodules%2Fswfshape.c;h=b53e2e86cc0a22f43117eac019f1a2ddfe7daab0;hb=ac4eb306e22b6c0746536c23445885e314a5ff0e;hp=187047b7ebf74f1f429893641257e0233d1ad3bd;hpb=f87cabd9d7dc5e891104f98b8b60f65b8bc86559;p=swftools.git diff --git a/lib/modules/swfshape.c b/lib/modules/swfshape.c index 187047b..b53e2e8 100644 --- a/lib/modules/swfshape.c +++ b/lib/modules/swfshape.c @@ -418,8 +418,8 @@ int swf_ShapeSetLine(TAG * t,SHAPE * s,S32 x,S32 y) b = swf_CountBits(y,b); if (b<2) b=2; if(b >= 18) { - if(b >= 18 + 4) { - /* do not split into more than 16 segments. If the line is *that* long, something's broken */ + if(b >= 18 + 6) { + /* do not split into more than 64 segments. If the line is *that* long, something's broken */ fprintf(stderr, "Warning: Line to %.2f,%.2f is too long\n", (double)x,(double)y); return -1; } else {