summaryrefslogtreecommitdiff
path: root/bar.go
diff options
context:
space:
mode:
authorhhvn <dev@hhvn.uk>2024-02-21 18:32:47 +0000
committerhhvn <dev@hhvn.uk>2024-02-21 18:32:47 +0000
commitcf562d8ce1bc65e79a83e13b1f232e322d7a62ca (patch)
tree0b8f4fa83e0713eb7dd5332ff87952a280ae87f3 /bar.go
parent2f2a90ba85c36a0935840654fd45d9a8a9798610 (diff)
Add the fallthrough that should've been there for ages
Diffstat (limited to 'bar.go')
-rw-r--r--bar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bar.go b/bar.go
index 6c3c981..b735944 100644
--- a/bar.go
+++ b/bar.go
@@ -195,7 +195,7 @@ func Destroy(state *bspc.State, id int) error {
func Cleanup(state *bspc.State) {
if state != nil {
for _, b := range bars {
- b.destroy(finalstate)
+ b.destroy(state)
}
}
}