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:
8b4bb72
)
fixed bug in swf_Relocate()
author
kramm
<kramm>
Fri, 27 Jul 2007 19:56:21 +0000
(19:56 +0000)
committer
kramm
<kramm>
Fri, 27 Jul 2007 19:56:21 +0000
(19:56 +0000)
lib/modules/swftools.c
patch
|
blob
|
history
diff --git
a/lib/modules/swftools.c
b/lib/modules/swftools.c
index
01a660b
..
6c37762
100644
(file)
--- a/
lib/modules/swftools.c
+++ b/
lib/modules/swftools.c
@@
-962,10
+962,10
@@
void swf_Relocate (SWF*swf, char*bitmap)
if(slaveids[id]<0) {
fprintf(stderr, "swf_Relocate: Mapping id (%d) never encountered before in %s\n", id,
swf_TagGetName(tag));
- return ;
+ } else {
+ id = slaveids[id];
+ PUT16(&tag->data[ptr[t]], id);
}
- id = slaveids[id];
- PUT16(&tag->data[ptr[t]], id);
}
}
tag=tag->next;