aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-11 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-11 20:20:20 +0100
commit00fe9075d348c95bf5ffc0b7e82eb4778c8ffb15 (patch)
tree0175313506a45736eb9264a9d8e75c05bbbcf27d
parentok ye (diff)
downloadhardflip-00fe9075d348c95bf5ffc0b7e82eb4778c8ffb15.tar.gz
hardflip-00fe9075d348c95bf5ffc0b7e82eb4778c8ffb15.tar.bz2
hardflip-00fe9075d348c95bf5ffc0b7e82eb4778c8ffb15.tar.xz
hardflip-00fe9075d348c95bf5ffc0b7e82eb4778c8ffb15.tar.zst
hardflip-00fe9075d348c95bf5ffc0b7e82eb4778c8ffb15.zip
cool
Diffstat (limited to '')
-rw-r--r--i_events.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/i_events.go b/i_events.go
index be7f039..1369ffa 100644
--- a/i_events.go
+++ b/i_events.go
@@ -125,14 +125,11 @@ func i_fold_dir(data *HardData, item *ItemsNode) {
}
if ptr == item {
folded_end = nil
+ after = nil
} else {
folded_end = ptr.prev
- }
- if folded_end != nil {
after = folded_end.next
folded_end.next = nil
- } else {
- after = nil
}
tmp := ItemsList{
folded_start,