diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f4d1a8b5..0963b43e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ All notable changes to this project will be documented in this file. - AS3 direct editation/highlighter §§pop in class traits - AS direct editation/highlighter §§pop and §§dup can have getmember or call - [#1295], [#116] AS3 dynamic construction via MultinameL +- ABC cleaner not properly fixing namespace sets ### Changed - Icon of "Deobfuscation options" menu from pile of pills to medkit diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCCleaner.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCCleaner.java index 6f193486b..fea96864a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCCleaner.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCCleaner.java @@ -163,7 +163,7 @@ public class ABCCleaner { } for (int i = 1; i < abc.constants.getNamespaceSetCount(); i++) { - if (notReferencedIndices.get(ABCSimpleUsageDetector.ItemKind.MULTINAME).contains(i)) { + if (notReferencedIndices.get(ABCSimpleUsageDetector.ItemKind.NAMESPACESET).contains(i)) { continue; } NamespaceSet m = abc.constants.getNamespaceSet(i);