X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fabc.c;h=700f050a6eb3300049c41627b18d6fb6c11811a7;hb=454852ff669656d839583a46af5f639fda170068;hp=f417e16ed0dc52026a6481421567e34041c9bb6d;hpb=b5e62783e6ff329b365dd4dc830983ab56a1b445;p=swftools.git diff --git a/lib/as3/abc.c b/lib/as3/abc.c index f417e16..700f050 100644 --- a/lib/as3/abc.c +++ b/lib/as3/abc.c @@ -1084,11 +1084,11 @@ void swf_WriteABC(TAG*abctag, void*code) abc_exception_list_t*l = c->exceptions; while(l) { // warning: assumes "pos" in each code_t is up-to-date - swf_SetU30(tag, l->abc_exception->from->pos); - swf_SetU30(tag, l->abc_exception->to->pos); - swf_SetU30(tag, l->abc_exception->target->pos); - swf_SetU30(tag, pool_register_multiname(pool, l->abc_exception->exc_type)); - swf_SetU30(tag, pool_register_multiname(pool, l->abc_exception->var_name)); + swf_SetU30(tag, l->exception->from->pos); + swf_SetU30(tag, l->exception->to->pos); + swf_SetU30(tag, l->exception->target->pos); + swf_SetU30(tag, pool_register_multiname(pool, l->exception->exc_type)); + swf_SetU30(tag, pool_register_multiname(pool, l->exception->var_name)); l = l->next; } @@ -1204,7 +1204,7 @@ void abc_file_free(abc_file_t*file) abc_exception_list_t*ee = body->exceptions; while(ee) { - abc_exception_t*e=ee->abc_exception;ee->abc_exception=0; + abc_exception_t*e=ee->exception;ee->exception=0; e->from = e->to = e->target = 0; multiname_destroy(e->exc_type);e->exc_type=0; multiname_destroy(e->var_name);e->var_name=0;