summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-2/habits.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'starts/meaning-vm/level-2/habits.cpp')
-rw-r--r--starts/meaning-vm/level-2/habits.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/starts/meaning-vm/level-2/habits.cpp b/starts/meaning-vm/level-2/habits.cpp
index dfb9014..4900daf 100644
--- a/starts/meaning-vm/level-2/habits.cpp
+++ b/starts/meaning-vm/level-2/habits.cpp
@@ -189,12 +189,12 @@ int createhabits()
ahabit(list-entry-unmake, ((list-entry, le)),
{
ref prev = (list-entry-previous)(le);
- ref next = (list-entry-next)(le);
+ ref n = (list-entry-next)(le);
if (prev != nothing) {
- set(prev, "next", next);
+ set(prev, next, n);
}
if (next != nothing) {
- set(next, "previous", prev);
+ set(n, previous, prev);
}
(concept-unmake)(le);
});