summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crystal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/crystal.py b/crystal.py
index 6187a0b..239ddff 100644
--- a/crystal.py
+++ b/crystal.py
@@ -4217,6 +4217,7 @@ def to_asm(some_object):
asmr = some_object.to_asm()
asmr = asmr.replace("\n", "\n"+spacing)
asmr = asmr.replace("\n"+spacing+"\n", "\n\n"+spacing)
+ asmr = asmr.replace("\n\n"+spacing+spacing, "\n\n"+spacing)
asm += spacing + asmr
#show the address of the next byte below this
asm += "\n; " + hex(last_address) + "\n"