summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-04-21 23:46:58 -0500
committerBryan Bishop <kanzure@gmail.com>2012-04-21 23:46:58 -0500
commit34385f546b374d5237e62ce2f1055f5377afe422 (patch)
treed0f85bb1dc851e767ef1d277857a92e5a446858c
parent1e89af6fade9955b21e2ef337b1e2a1053efaa8d (diff)
fix MapEventHeader asm formatting
original-commit-id: c8b4c3203c8551f8ca835b35e4ad81a8f47900bd
-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"