about summary refs log tree commit diff stats
path: root/apps/tile/surface.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-21 21:40:23 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-21 21:40:23 -0800
commit32505d159ef431bd3e015f7352756bf38cf1297d (patch)
tree2ca1ad3b2bf8c656e3a643d8c0fcd9e281b45b4a /apps/tile/surface.mu
parente786968a9c4d602680580b7d3551d5ff4c643ccb (diff)
downloadmu-32505d159ef431bd3e015f7352756bf38cf1297d.tar.gz
7269
Diffstat (limited to 'apps/tile/surface.mu')
-rw-r--r--apps/tile/surface.mu4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/tile/surface.mu b/apps/tile/surface.mu
index 9f520a3c..cd54b5b4 100644
--- a/apps/tile/surface.mu
+++ b/apps/tile/surface.mu
@@ -100,7 +100,6 @@ fn render-surface _self: (addr surface) {
 }
 
 fn print-surface-cell-at _self: (addr surface), screen-row: int, screen-col: int {
-$print-surface-cell-at:body: {
   var self/esi: (addr surface) <- copy _self
   var row/ecx: int <- screen-row-to-surface self, screen-row
   var col/edx: int <- screen-col-to-surface self, screen-col
@@ -116,7 +115,7 @@ $print-surface-cell-at:body: {
     var screen-ah/edi: (addr handle screen) <- get self, screen
     var screen/eax: (addr screen) <- lookup *screen-ah
     print-grapheme screen, space
-    break $print-surface-cell-at:body
+    return
   }
   # otherwise print the appropriate screen-cell
   var offset/ecx: (offset screen-cell) <- compute-offset data-addr, idx
@@ -125,7 +124,6 @@ $print-surface-cell-at:body: {
   var screen/eax: (addr screen) <- lookup *screen-ah
   print-screen-cell screen, src
 }
-}
 
 # print a cell with all its formatting at the cursor location
 fn print-screen-cell screen: (addr screen), _cell: (addr screen-cell) {