diff options
author | Joe <rbo@gmx.us> | 2024-04-10 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-04-10 20:20:20 +0200 |
commit | 2b184f39542f0ae754a22c36da1d83fe2e3e1a29 (patch) | |
tree | abf8fbac9146e3ca13959647b5ab99a6acfddc46 /src/c_litems.go | |
parent | cool (diff) | |
download | hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.tar.gz hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.tar.bz2 hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.tar.xz hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.tar.zst hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.zip |
fixin segv
Diffstat (limited to 'src/c_litems.go')
-rw-r--r-- | src/c_litems.go | 2 |
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 |