From 2f060d0567609a2c17c45f1cfd2033674ab3a38d Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 2 Jan 2009 19:44:25 +0000 Subject: [PATCH 1/1] fixed bug in staticslot --- lib/as3/abc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/as3/abc.c b/lib/as3/abc.c index 7f6d0bf..3b1db1d 100644 --- a/lib/as3/abc.c +++ b/lib/as3/abc.c @@ -289,7 +289,7 @@ trait_t* abc_class_staticslot(abc_class_t*cls, multiname_t*name, multiname_t*typ abc_file_t*file = cls->file; multiname_t*m_name = multiname_clone(name); multiname_t*m_type = multiname_clone(type); - trait_t*t = trait_new_member(&cls->traits, m_type, m_name, 0); + trait_t*t = trait_new_member(&cls->static_traits, m_type, m_name, 0); return t; } -- 1.7.10.4