about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-09-02 13:19:43 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-09-02 13:19:43 -0700
commit3f953ea5c861706f4996e9d4a9133d3806ad7a93 (patch)
treebbd7de0a86ec22a07c3a9a7bcc8d36d8cc8c9a7d
parent6c3e541be1d7d10220778f1627ff67b3bc36cfad (diff)
downloadmu-3f953ea5c861706f4996e9d4a9133d3806ad7a93.tar.gz
.
-rw-r--r--501draw-text.mu8
1 files changed, 3 insertions, 5 deletions
diff --git a/501draw-text.mu b/501draw-text.mu
index 9d73c27b..a43fc822 100644
--- a/501draw-text.mu
+++ b/501draw-text.mu
@@ -208,11 +208,9 @@ fn draw-stream-wrapping-right-then-down screen: (addr screen), stream: (addr str
   var ycurr/edx: int <- copy y
   var c/ebx: code-point <- copy 0
   $draw-stream-wrapping-right-then-down:loop: {
-    {
-      var g/eax: grapheme <- read-grapheme stream
-      var _c/eax: code-point <- to-code-point g
-      c <- copy _c
-    }
+    var g/eax: grapheme <- read-grapheme stream
+    var _c/eax: code-point <- to-code-point g
+    c <- copy _c
     compare c, 0xffffffff/end-of-file
     break-if-=
     compare c, 0xa/newline