From 51803c285099d345fe694b72d28d75265df5dd33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Sat, 27 Apr 2013 17:22:29 +0200 Subject: [PATCH] Issue #79, wrong printGraph --- trunk/src/com/jpexs/decompiler/flash/graph/Graph.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java b/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java index 9eaebb2e7..1ecea5e16 100644 --- a/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java +++ b/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java @@ -603,7 +603,7 @@ public class Graph { ret.add(ti); } else { printGraph(localData, stack, allParts, parent, next, reversed ? sp1 : sp0, loops, forFinalCommands); - GraphTargetItem second = stack.pop(); + GraphTargetItem second = stack.pop(); GraphTargetItem first = stack.pop(); if (reversed) { AndItem a = new AndItem(null, first, second); @@ -1480,6 +1480,7 @@ public class Graph { if (p.start == ip) { p.refs.add(part); part.nextParts.add(p); + allBlocks.add(part); return ret; } }