From 2b184f39542f0ae754a22c36da1d83fe2e3e1a29 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 10 Apr 2024 20:20:20 +0200 Subject: fixin segv --- src/c_litems.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/c_litems.go') 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 -- cgit v1.2.3