From a6d5a31e91e224064e105b5383ebbdce79060997 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 30 Mar 2004 13:44:11 +0000 Subject: [PATCH] new tags are now mapped to their own IDs, not an allocated one --- lib/python/taglist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/python/taglist.c b/lib/python/taglist.c index 630fb29..e4eeffc 100644 --- a/lib/python/taglist.c +++ b/lib/python/taglist.c @@ -48,7 +48,8 @@ PyObject * taglist_new2(TAG*tag) } PyList_SET_ITEM(taglist->taglist,nr,newtag);Py_INCREF(newtag); if(swf_isDefiningTag(t)) { - tagmap_add(taglist->tagmap, newtag); + int id = swf_GetDefineID(t); + tagmap_addMapping(taglist->tagmap, id, newtag); } nr++; t=t->next; -- 1.7.10.4