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 whitespace, added some comments.
[swftools.git]
/
lib
/
modules
/
swfaction.c
diff --git
a/lib/modules/swfaction.c
b/lib/modules/swfaction.c
index
135d026
..
b671fff
100644
(file)
--- a/
lib/modules/swfaction.c
+++ b/
lib/modules/swfaction.c
@@
-129,8
+129,8
@@
r: register (byte)
{5,"Less2", 0x48,""},
{6,"Greater", 0x67,""},
{6,"StringGreater", 0x68,""},
{5,"Less2", 0x48,""},
{6,"Greater", 0x67,""},
{6,"StringGreater", 0x68,""},
-{6,"Enumerate2", 0x55,""}
-{6,"InstanceOf", 0x54,""}
+{6,"Enumerate2", 0x55,""},
+{6,"InstanceOf", 0x54,""},
{6,"StrictEquals", 0x66,""}
};
static int definedactions = sizeof(actions)/sizeof(struct Action);
{6,"StrictEquals", 0x66,""}
};
static int definedactions = sizeof(actions)/sizeof(struct Action);
@@
-625,7
+625,7
@@
void swf_ActionEnd(ActionTAG* atag)
static ActionTAG*lastATAG(ActionTAG*atag)
{
static ActionTAG*lastATAG(ActionTAG*atag)
{
- ActionTAG*last;
+ ActionTAG*last = 0;
while(atag) {
last = atag;
atag=atag->next;
while(atag) {
last = atag;
atag=atag->next;