about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-08-02 15:30:59 -0700
committerKartik Agaram <vc@akkartik.com>2020-08-02 15:30:59 -0700
commit0f5d0ec519c5b6fbb36ace912426e6a3fb8aa8ec (patch)
treefcc66e2d797e828f8e478bd00d19dc36717c2de1
parent0a8e8f4e2fc1ffb20acab730fd38ad1510da1088 (diff)
downloadmu-0f5d0ec519c5b6fbb36ace912426e6a3fb8aa8ec.tar.gz
6705
Another stupid bug: I've been printing out 3 nulls for every byte of ascii.
-rw-r--r--304screen.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/304screen.subx b/304screen.subx
index 08617741..2badb1eb 100644
--- a/304screen.subx
+++ b/304screen.subx
@@ -140,7 +140,7 @@ print-grapheme-to-real-screen:  # c: grapheme
     51/push-ecx
     # var s/ecx: (addr array byte)
     ff 6/subop/push *(ebp+8)
-    68/push 4/imm32/size
+    68/push 1/imm32/size
     89/<- %ecx 4/r32/esp
     (write 1 %ecx)
 $print-grapheme-to-real-screen:end: