From 833930892f9b2ace553cea3d8b60ecd878dd019a Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 10 Jan 2024 20:20:20 +0100 Subject: clean after why slow --- c_litems.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c_litems.go') 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 } -- cgit v1.2.3