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:
74021a5
)
in rfxswflib, SHAPE's gradient is now stored as struct, not as pointer.
author
kramm
<kramm>
Thu, 1 Jan 2004 09:58:03 +0000
(09:58 +0000)
committer
kramm
<kramm>
Thu, 1 Jan 2004 09:58:03 +0000
(09:58 +0000)
src/swfbbox.c
patch
|
blob
|
history
diff --git
a/src/swfbbox.c
b/src/swfbbox.c
index
fc6de06
..
de0d96c
100644
(file)
--- a/
src/swfbbox.c
+++ b/
src/swfbbox.c
@@
-141,8
+141,7
@@
void parseFillStyleArray(TAG*tag, SHAPE2*shape)
swf_ResetReadBits(tag);
swf_GetMatrix(tag, &dest->m);
swf_ResetReadBits(tag);
- dest->gradient = malloc(sizeof(GRADIENT)); // TODO: free this again
- swf_GetGradient(tag, dest->gradient, num>=3?1:0);
+ swf_GetGradient(tag, &dest->gradient, num>=3?1:0);
}
else if(type == 0x40 || type == 0x41)
{