changeset 104:06cba5cee071 src

Make seek work better. Repeated seeks to the same position now work, instead of just acting as a NULL operation.
author jcdutton
date Sat, 12 Oct 2002 10:38:11 +0000
parents 8905d8de7e91
children 0a0a749038ff
files searching.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/searching.c	Sun Sep 29 21:51:06 2002 +0000
+++ b/searching.c	Sat Oct 12 10:38:11 2002 +0000
@@ -177,6 +177,7 @@
     if((cell->first_sector <= target) && (cell->last_sector >= target)) {
       state->cellN = cell_nr;
       state->blockN = 0;
+      state->cell_restart++; 
       found = 1;
       fnd_cell_nr = cell_nr;
       fnd_cell = cell;