about summary refs log tree commit diff stats
path: root/apps/tile/box.mu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tile/box.mu')
-rw-r--r--apps/tile/box.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tile/box.mu b/apps/tile/box.mu
index bc0f58e1..f13eee81 100644
--- a/apps/tile/box.mu
+++ b/apps/tile/box.mu
@@ -21,7 +21,7 @@ fn draw-hatching screen: (addr screen), row1: int, col1: int, row2: int, col2: i
 
 fn draw-horizontal-line screen: (addr screen), row: int, col1: int, col2: int {
   var col/eax: int <- copy col1
-  move-cursor 0, row, col
+  move-cursor screen, row, col
   {
     compare col, col2
     break-if->=
@@ -36,7 +36,7 @@ fn draw-vertical-line screen: (addr screen), row1: int, row2: int, col: int {
   {
     compare row, row2
     break-if->=
-    move-cursor 0, row, col
+    move-cursor screen, row, col
     print-code-point screen, 0x2502
     row <- increment
     loop