about summary refs log tree commit diff stats
path: root/081print.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-16 23:35:32 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-16 23:35:32 -0700
commit8752e6b09e302c88702ab6e7a965daa624ba5213 (patch)
treec59b71ff2abf7bf12fd4899cfe828780e85909d5 /081print.mu
parent4bf7453a8e748403c8182667f1a9c785c69f43ac (diff)
downloadmu-8752e6b09e302c88702ab6e7a965daa624ba5213.tar.gz
3373
Commit 3370 fixed the memory leak but it still had print:character
printing characters rather than numbers like it used to before 3365. Go
back to the old, unambiguous trace.
Diffstat (limited to '081print.mu')
-rw-r--r--081print.mu3
1 files changed, 2 insertions, 1 deletions
diff --git a/081print.mu b/081print.mu
index c9937387..15fae22f 100644
--- a/081print.mu
+++ b/081print.mu
@@ -96,7 +96,8 @@ def print screen:address:screen, c:character -> screen:address:screen [
     break-if bg-color-found?
     bg-color <- copy 0/black
   }
-  trace 90, [print-character], c
+  c2:number <- character-to-code c
+  trace 90, [print-character], c2
   {
     # if x exists
     # (handle special cases exactly like in the real screen)