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:
1233dfe
)
revert to lines for bit overflows in curves
author
Matthias Kramm
<kramm@quiss.org>
Thu, 8 Oct 2009 00:09:31 +0000
(17:09 -0700)
committer
Matthias Kramm
<kramm@quiss.org>
Thu, 8 Oct 2009 00:09:31 +0000
(17:09 -0700)
lib/modules/swfshape.c
patch
|
blob
|
history
diff --git
a/lib/modules/swfshape.c
b/lib/modules/swfshape.c
index
d51f510
..
deb9b3a
100644
(file)
--- 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);