about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--apps/tile/environment.mu4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index 1eac1779..31d8ef8c 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -435,7 +435,9 @@ $process-sandbox-rename:body: {
     var new-line-ah/eax: (addr handle line) <- address new-line-h
     allocate new-line-ah
     var new-line/eax: (addr line) <- lookup *new-line-ah
-    initialize-line new-line
+    # new-line->word = sandbox-partial-name-for-cursor-word
+    var new-line-word/ecx: (addr handle word) <- get new-line, data
+    copy-object new-name-ah, new-line-word
     # new-line->next = sandbox->data
     var new-line-next/ecx: (addr handle line) <- get new-line, next
     var sandbox-slot/edx: (addr handle line) <- get sandbox, data