summaryrefslogtreecommitdiff
path: root/extras/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-04 16:51:27 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-04 16:51:27 -0500
commit2eeae555c5e4f2eed4b1e33d6f980fb5eeb93901 (patch)
tree60ca5ee69342207c1bcd08046043fc8b7d4b67e4 /extras/crystal.py
parentcb0bcb77b93eebd16be8ee188e1bfb3a6a8ac80b (diff)
fix was_comma statement (gah)
Diffstat (limited to 'extras/crystal.py')
-rw-r--r--extras/crystal.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/extras/crystal.py b/extras/crystal.py
index 6e6f30531..3765c4c8c 100644
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1852,10 +1852,13 @@ class MainText(TextCommand):
if not was_comma:
output += ", "
output += "$%.2x\n" % (byte)
- was_comma = True
+ was_comma = False
new_line = True
elif byte == 0x50:
assert not new_line, "can't have $50 or '@' as the first character on a newline"
+
+ if in_quotes:
+ output += "@\""
pass
# TODO