git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed no-longer-valid comment.
[swftools.git]
/
lib
/
modules
/
swfshape.c
diff --git
a/lib/modules/swfshape.c
b/lib/modules/swfshape.c
index
caa9e90
..
51837f2
100644
(file)
--- a/
lib/modules/swfshape.c
+++ b/
lib/modules/swfshape.c
@@
-293,7
+293,7
@@
int swf_ShapeAddFillStyle(SHAPE * s,U8 type,MATRIX * m,RGBA * color,U16 id_bitma
if (!s->fillstyle.data) return -1;
}
if (!s->fillstyle.data) return -1;
}
- // set fillstyle (no gradients yet!)
+ // set fillstyle
s->fillstyle.data[s->fillstyle.n].type = type;
s->fillstyle.data[s->fillstyle.n].id_bitmap = id_bitmap;
s->fillstyle.data[s->fillstyle.n].type = type;
s->fillstyle.data[s->fillstyle.n].id_bitmap = id_bitmap;
@@
-423,7
+423,6
@@
int swf_ShapeSetLine(TAG * t,SHAPE * s,S32 x,S32 y)
if(b-2 >= 16) {
fprintf(stderr, "Bit overflow in swf_ShapeSetLine(1)- %d\n", b);
fflush(stdout);
if(b-2 >= 16) {
fprintf(stderr, "Bit overflow in swf_ShapeSetLine(1)- %d\n", b);
fflush(stdout);
- *(int*)0 = 0xdead;
b = 17;
}
swf_SetBits(t, b-2, 4);
b = 17;
}
swf_SetBits(t, b-2, 4);