aboutsummaryrefslogtreecommitdiffstats
path: root/c_litems.go
diff options
context:
space:
mode:
Diffstat (limited to 'c_litems.go')
-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
}