From: kramm Date: Sun, 16 May 2004 18:53:30 +0000 (+0000) Subject: fixed bug in dependency handling. X-Git-Tag: release-0-6-0~215 X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;ds=sidebyside;h=a72d10185525aafd3fb4053573c5f44aa521f3d0;p=swftools.git fixed bug in dependency handling. --- diff --git a/lib/python/tag.c b/lib/python/tag.c index 13b4863..9a53b58 100644 --- a/lib/python/tag.c +++ b/lib/python/tag.c @@ -249,7 +249,9 @@ TAG* tag_getTAG(PyObject*self, TAG*prevTag, PyObject*tagmap) free(positions); return 0; } - int newid = tagmap_obj2id(tag->internals.tagmap, obj); + //int newid = tagmap_obj2id(tag->internals.tagmap, obj); + int newid = tagmap_obj2id(tagmap, obj); + mylog(" %08x(%d) tag_getTAG: dependency %d) %d->%08x -> assigning(%08x) id %d", (int)self, self->ob_refcnt, i, id, obj, tagmap, newid); PUT16(&t->data[positions[i]], newid); } free(positions);