about summary refs log tree commit diff stats
path: root/edit/001-editor.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-15 01:02:53 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-15 01:02:53 -0800
commit687dd3f5da63bee9dd310bc4ac2844ece43e3fba (patch)
tree3e57d03f17a59c97a9ba10b15ee87084eced66e1 /edit/001-editor.mu
parentef96f57ce264c8e0bd98f6e8622d1c1e2eceafb2 (diff)
downloadmu-687dd3f5da63bee9dd310bc4ac2844ece43e3fba.tar.gz
2442
Fix the drawback in the previous commit: if an ingredient is just a
literal 0 we'll skip its type-checking and hope to map type ingredients
elsewhere.
Diffstat (limited to 'edit/001-editor.mu')
-rw-r--r--edit/001-editor.mu3
1 files changed, 1 insertions, 2 deletions
diff --git a/edit/001-editor.mu b/edit/001-editor.mu
index 97953274..4b8da7a8 100644
--- a/edit/001-editor.mu
+++ b/edit/001-editor.mu
@@ -64,8 +64,7 @@ recipe new-editor s:address:array:character, screen:address:screen, left:number,
   x <- get-address *result, cursor-column:offset
   *x <- copy left
   init:address:address:duplex-list:character <- get-address *result, data:offset
-  *init <- copy 0
-  *init <- push-duplex 167/§, *init
+  *init <- push-duplex 167/§, 0/tail
   top-of-screen:address:address:duplex-list:character <- get-address *result, top-of-screen:offset
   *top-of-screen <- copy *init
   y:address:address:duplex-list:character <- get-address *result, before-cursor:offset