git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f87cabd
)
increased max line split to 64
author
kramm
<kramm>
Sat, 3 Dec 2005 14:27:44 +0000
(14:27 +0000)
committer
kramm
<kramm>
Sat, 3 Dec 2005 14:27:44 +0000
(14:27 +0000)
lib/modules/swfshape.c
patch
|
blob
|
history
diff --git
a/lib/modules/swfshape.c
b/lib/modules/swfshape.c
index
187047b
..
b53e2e8
100644
(file)
--- 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) {
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 {
fprintf(stderr, "Warning: Line to %.2f,%.2f is too long\n", (double)x,(double)y);
return -1;
} else {