From 599b704a9180edb02f087994b923955e59edee78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Tue, 20 Oct 2015 19:47:03 +0200 Subject: [PATCH] Issue #1060 reversed and/or detection when compiled as push false / push true --- libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 287631fcc..6857f73d9 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java @@ -2014,10 +2014,10 @@ public class Graph { stack.push(new AndItem(null, prevExpr, rightSide)); } else if (prevExpr instanceof FalseItem) { isIf = false; - stack.push(new OrItem(null, leftSide, rightSide)); + stack.push(new AndItem(null, leftSide, rightSide)); } else if (prevExpr instanceof TrueItem) { isIf = false; - stack.push(new AndItem(null, leftSide, rightSide)); + stack.push(new OrItem(null, leftSide, rightSide)); } else { //:-( }