aboutsummaryrefslogtreecommitdiffstats
path: root/c_litems.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-10 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-10 20:20:20 +0100
commit833930892f9b2ace553cea3d8b60ecd878dd019a (patch)
treea7587ecc4199c8ee6828b512155b04346bfc8a00 /c_litems.go
parenttime to cleanup a bit (diff)
downloadhardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.tar.gz
hardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.tar.bz2
hardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.tar.xz
hardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.tar.zst
hardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.zip
clean after why slow
Diffstat (limited to '')
-rw-r--r--c_litems.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_litems.go b/c_litems.go
index 689a5e0..ce26648 100644
--- a/c_litems.go
+++ b/c_litems.go
@@ -148,7 +148,7 @@ func (litems *ItemsList) inc(jump int) {
if new_item == nil || jump == 0 {
return
- } else if jump == 1 {
+ } else if jump == +1 {
if new_item.next != nil {
new_item = new_item.next
}