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.it/?a=commitdiff_plain;ds=sidebyside;h=1a5f90b2f293ebeb1603c58389b1a78558fc5899;hp=60e30cf9af6734e9461e33f051822b6f2b070e06;p=swftools.git 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;