about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-09 21:10:14 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-09 21:10:14 -0700
commiteb2cccccebe6e396e929a49e08515d3ecea9b0fc (patch)
tree4b0af0f4ba1c8701c2b0eccaa24f7904765bb17b /apps
parent0c465d1dcca6dceb9ca431feba4a193473565047 (diff)
downloadmu-eb2cccccebe6e396e929a49e08515d3ecea9b0fc.tar.gz
6976
Diffstat (limited to 'apps')
-rw-r--r--apps/tile/environment.mu8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index a2302d6a..2355ca80 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -334,7 +334,7 @@ fn render-line screen: (addr screen), functions: (addr handle function), binding
         var word-len/eax: int <- word-length curr-word
         curr-col <- add word-len
         curr-col <- add 2
-        add-to top-row, 1
+        increment top-row
       }
       # obtain stack at call site
       var stack-storage: value-stack
@@ -362,10 +362,10 @@ fn render-line screen: (addr screen), functions: (addr handle function), binding
       print-code-point screen, 0x21d7  # ⇗
       #
       curr-col <- add 2
-      subtract-from top-row, 1
+      decrement top-row
     }
     # debug info: print word index
-#?     subtract-from top-row, 1
+#?     decrement top-row
 #?       move-cursor screen, top-row, curr-col
 #?       start-color screen, 8, 7
 #?         {
@@ -373,7 +373,7 @@ fn render-line screen: (addr screen), functions: (addr handle function), binding
 #?           print-int32-hex-bits screen, word-index-val, 4
 #?         }
 #?       reset-formatting screen
-#?     add-to top-row, 1
+#?     increment top-row
     # now render main column
     curr-col <- render-column screen, functions, bindings, line, curr-word, top-row, curr-col, cursor-word, cursor-col-a
     var next-word-ah/edx: (addr handle word) <- get curr-word, next