From 7a5f39d094c446d261246cdf8d00f19df7fa2673 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 27 Jul 2007 19:56:21 +0000 Subject: [PATCH] fixed bug in swf_Relocate() --- lib/modules/swftools.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/modules/swftools.c b/lib/modules/swftools.c index 01a660b..6c37762 100644 --- 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; -- 1.7.10.4