about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/print-file.mu3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/print-file.mu b/apps/print-file.mu
index c8c487b2..0726164c 100644
--- a/apps/print-file.mu
+++ b/apps/print-file.mu
@@ -31,7 +31,8 @@ $main-body: {
         var c/eax: byte <- read-byte-buffered in-addr
         compare c, 0xffffffff  # EOF marker
         break-if-=
-        print-grapheme 0, c
+        var g/eax: grapheme <- copy c
+        print-grapheme 0, g
         loop
       }
     }