about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-05-02 23:11:17 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-05-02 23:11:17 -0700
commit481fce0e5df70332ccb3a825efcf1e5db1f3e48b (patch)
treed5fd93da963b3c8217f9676e42df5ce4d4866fbe
parent471839dad7e953fdd88902e03ddb55c02377ad44 (diff)
downloadmu-481fce0e5df70332ccb3a825efcf1e5db1f3e48b.tar.gz
2890
-rw-r--r--edit/011-editor-undo.mu2
-rw-r--r--sandbox/011-editor-undo.mu2
2 files changed, 2 insertions, 2 deletions
diff --git a/edit/011-editor-undo.mu b/edit/011-editor-undo.mu
index 5c9876d0..75872cf0 100644
--- a/edit/011-editor-undo.mu
+++ b/edit/011-editor-undo.mu
@@ -1620,7 +1620,7 @@ before <backspace-character-end> [
     undo:address:list:address:operation <- get *editor, undo:offset
     {
       # if previous operation was an insert, coalesce this operation with it
-      break-unless *undo
+      break-unless undo
       op:address:operation <- first undo
       deletion:delete-operation, is-delete?:boolean <- maybe-convert *op, delete:variant
       break-unless is-delete?
diff --git a/sandbox/011-editor-undo.mu b/sandbox/011-editor-undo.mu
index 5c9876d0..75872cf0 100644
--- a/sandbox/011-editor-undo.mu
+++ b/sandbox/011-editor-undo.mu
@@ -1620,7 +1620,7 @@ before <backspace-character-end> [
     undo:address:list:address:operation <- get *editor, undo:offset
     {
       # if previous operation was an insert, coalesce this operation with it
-      break-unless *undo
+      break-unless undo
       op:address:operation <- first undo
       deletion:delete-operation, is-delete?:boolean <- maybe-convert *op, delete:variant
       break-unless is-delete?