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:
3517626
)
fixed duplicate ST_REFLEX handling
author
kramm
<kramm>
Fri, 29 Apr 2005 08:46:33 +0000
(08:46 +0000)
committer
kramm
<kramm>
Fri, 29 Apr 2005 08:46:33 +0000
(08:46 +0000)
lib/rfxswf.c
patch
|
blob
|
history
diff --git
a/lib/rfxswf.c
b/lib/rfxswf.c
index
616be52
..
2a4b2e2
100644
(file)
--- a/
lib/rfxswf.c
+++ b/
lib/rfxswf.c
@@
-1315,9
+1315,9
@@
int swf_WriteSWF2(struct writer_t*writer, SWF * swf) // Writes SWF to file,
#ifdef INSERT_RFX_TAG
#ifdef INSERT_RFX_TAG
- if (swf->firstTag && swf->firstTag->next &&
- (swf->firstTag->id != ST_REFLEX || swf->firstTag->next->id != ST_REFLEX)
- ) {
+ if ((swf->firstTag && swf->firstTag->id != ST_REFLEX) &&
+ (!swf->firstTag->next || swf->firstTag->next->id != ST_REFLEX))
+ {
swf_SetBlock(swf_InsertTagBefore(swf, swf->firstTag,ST_REFLEX),"rfx",3);
}
swf_SetBlock(swf_InsertTagBefore(swf, swf->firstTag,ST_REFLEX),"rfx",3);
}