diff --git a/CHANGELOG.md b/CHANGELOG.md index f2575d602..5baeb5f08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file. - AS3 - direct editation - resolve properties and local regs before types - AS3 - direct editation - call on index - Incorrect position in Flash Player preview and SWF export +- AS1/2 actioncontainers (like try) inside ifs ## [15.0.0] - 2021-11-29 ### Added diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java index ee1df2a6a..4c1b29281 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java @@ -2092,8 +2092,7 @@ public class Graph { output.addAll(ex.getOutput()); for (GraphPart p : allParts) { if (p.containsIP(ex.getIp())) { - if (ipStart == p.start) { - //can this happen? TODO: find some example in the wild + if (ex.getIp() == p.start) { currentRet.addAll(output); //to check for stopparts,etc. we need to call printGraph again part = p;