about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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