git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test importing a builtin type, too
[swftools.git]
/
lib
/
modules
/
swfdraw.c
diff --git
a/lib/modules/swfdraw.c
b/lib/modules/swfdraw.c
index
2613e0c
..
333fdb9
100644
(file)
--- a/
lib/modules/swfdraw.c
+++ b/
lib/modules/swfdraw.c
@@
-1,5
+1,7
@@
// swfdraw.c
// swfdraw.c
+#include "../rfxswf.h"
+
typedef struct _SWFSHAPEDRAWER
{
SHAPE*shape;
typedef struct _SWFSHAPEDRAWER
{
SHAPE*shape;
@@
-177,7
+179,7
@@
static void swf_ShapeDrawerClear(drawer_t*draw)
{
SWFSHAPEDRAWER*sdraw = (SWFSHAPEDRAWER*)draw->internal;
if(sdraw->tagfree) {
{
SWFSHAPEDRAWER*sdraw = (SWFSHAPEDRAWER*)draw->internal;
if(sdraw->tagfree) {
- swf_DeleteTag(sdraw->tag);
+ swf_DeleteTag(0, sdraw->tag);
sdraw->tag = 0;
}
swf_ShapeFree(sdraw->shape);
sdraw->tag = 0;
}
swf_ShapeFree(sdraw->shape);