Skip to content

Commit cac93d3

Browse files
committed
Fix wrong positioning in list
1 parent d223293 commit cac93d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rumget.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,11 @@ setListPositionScanEntry(RumState * rumstate, RumScanEntry entry)
480480
}
481481
else
482482
{
483-
if (entry->offset == 0)
483+
if (StopHigh == 0)
484484
return true;
485485

486-
entry->offset--;
486+
entry->offset = StopHigh - 1;
487+
487488
return false;
488489
}
489490
}

0 commit comments

Comments
 (0)