X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fpool.c;h=0db750aacc6de1977d894f9f0eed170c9f0a6ca5;hb=45c6d086e48f71cfb4c38a35d4cb6c26e15a9b21;hp=ffea0e6b2c053361be114f7923d899cc268730ca;hpb=8d78dadd6a8cd35d085109414a9aa4a1fa9e9d8e;p=swftools.git diff --git a/lib/as3/pool.c b/lib/as3/pool.c index ffea0e6..0db750a 100644 --- a/lib/as3/pool.c +++ b/lib/as3/pool.c @@ -211,6 +211,7 @@ namespace_t* namespace_fromstring(const char*name) if(!strcmp(a, "")) access=0x16; else if(!strcmp(a, "undefined")) access=0x08; // public?? else if(!strcmp(a, "package")) access=0x16; + else if(!strcmp(a, "public")) access=0x16; else if(!strcmp(a, "packageinternal")) access=0x17; else if(!strcmp(a, "protected")) access=0x18; else if(!strcmp(a, "explicit")) access=0x19; @@ -472,7 +473,7 @@ multiname_t* multiname_clone(multiname_t*other) char* access2str(int type) { if(type==0x08) return "access08"; - else if(type==0x16) return "package"; + else if(type==0x16) return "public"; else if(type==0x17) return "packageinternal"; else if(type==0x18) return "protected"; else if(type==0x19) return "explicit";