From: kramm Date: Mon, 22 Oct 2001 15:59:48 +0000 (+0000) Subject: GetName now uses GetTagPos, not GetTagPosPtr (which doesn't exist anymore) X-Git-Tag: release-0-0-2~24 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=1a5f90b2f293ebeb1603c58389b1a78558fc5899 GetName now uses GetTagPos, not GetTagPosPtr (which doesn't exist anymore) --- diff --git a/lib/modules/swftools.c b/lib/modules/swftools.c index 7f3865b..1b10385 100644 --- a/lib/modules/swftools.c +++ b/lib/modules/swftools.c @@ -234,7 +234,7 @@ char* GetName(LPTAG t) switch(GetTagID(t)) { case ST_FRAMELABEL: - name = GetTagPosPtr(t); + name = &t->data[GetTagPos(t)]; break; case ST_PLACEOBJECT2: { U8 flags = GetU8(t); @@ -249,7 +249,7 @@ char* GetName(LPTAG t) GetU16(t); if(flags&PF_NAME) { ResetBitmask(t); - name = GetTagPosPtr(t); + name = &t->data[GetTagPos(t)]; } } break;