git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added class members, expression lefthands
[swftools.git]
/
lib
/
modules
/
swfaction.c
diff --git
a/lib/modules/swfaction.c
b/lib/modules/swfaction.c
index
9a44798
..
f1258bd
100644
(file)
--- a/
lib/modules/swfaction.c
+++ b/
lib/modules/swfaction.c
@@
-969,7
+969,7
@@
ActionTAG* action_WaitForFrame(ActionTAG*atag, U16 frame, U8 skip)
*(U8*)&atag->tmp[2] = skip;
return atag;
}
*(U8*)&atag->tmp[2] = skip;
return atag;
}
-ActionTAG* action_SetTarget(ActionTAG*atag, char* target)
+ActionTAG* action_SetTarget(ActionTAG*atag, const char* target)
{
char*ptr = strdup(target);
return swf_AddActionTAG(atag, ACTION_SETTARGET, (U8*)ptr, strlen(ptr)+1);
{
char*ptr = strdup(target);
return swf_AddActionTAG(atag, ACTION_SETTARGET, (U8*)ptr, strlen(ptr)+1);
@@
-1102,7
+1102,7
@@
ActionTAG* swf_ActionCompile(const char* source, int version)
rfx_free(buffer);
a = swf_ActionGet(tag);
rfx_free(buffer);
a = swf_ActionGet(tag);
- swf_DeleteTag(tag);
+ swf_DeleteTag(0, tag);
return a;
}
return a;
}