about summary refs log tree commit diff stats
path: root/apps/print-file.mu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/print-file.mu')
-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
       }
     }
class='oid'>db686679 ^
db686679 ^
cbc81778 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20