mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 06:16:08 +00:00
AS1/2: Merging pushes fix
This commit is contained in:
@@ -449,8 +449,16 @@ public class Action implements GraphSourceItem {
|
||||
|
||||
|
||||
if (a.replaceWith != null) {
|
||||
if (lastPush) {
|
||||
ret += "\r\n";
|
||||
lastPush = false;
|
||||
}
|
||||
ret += Highlighting.hilighOffset("", offset) + a.replaceWith.getASMSource(list, importantOffsets, constantPool, version, hex) + "\r\n";
|
||||
} else if (a.ignored) {
|
||||
if (lastPush) {
|
||||
ret += "\r\n";
|
||||
lastPush = false;
|
||||
}
|
||||
int len = 0;
|
||||
if (pos + 1 < list.size()) {
|
||||
len = (int) (((Action) (list.get(pos + 1))).getAddress() - a.getAddress());
|
||||
|
||||
Reference in New Issue
Block a user