aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_litems.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/c_litems.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/c_litems.go b/src/c_litems.go
index b71a008..3f5a654 100644
--- a/src/c_litems.go
+++ b/src/c_litems.go
@@ -71,6 +71,8 @@ func (litems *ItemsList) add_back(node *ItemsNode) {
if litems.head == nil {
litems.head = node
litems.last = litems.head
+ litems.curr = litems.head
+ litems.draw = litems.head
return
}
last := litems.last