From fd5d966b534ec78b80758cf2494340674012aa4d Mon Sep 17 00:00:00 2001 From: "Alexander S.Kresin" Date: Thu, 6 Dec 2001 19:20:17 +0000 Subject: [PATCH] 2001-12-06 22:20 GMT+3 Alexander Kresin --- harbour/ChangeLog | 4 ++++ harbour/source/rdd/dbfntx/dbfntx1.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 4fedf8344a..d2036b41cb 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,7 @@ +2001-12-06 22:20 GMT+3 Alexander Kresin + * source/rdd/dbfntx/dbfntx1.c + * Bug fixed, reported by Horacio Roldˇn + 2001-12-06 21:15 GMT+3 Alexander Kresin * source/rdd/dbfntx/dbfntx1.c * Bug fixed, reported by Walter Negro diff --git a/harbour/source/rdd/dbfntx/dbfntx1.c b/harbour/source/rdd/dbfntx/dbfntx1.c index 4bf442334b..6a6877f701 100644 --- a/harbour/source/rdd/dbfntx/dbfntx1.c +++ b/harbour/source/rdd/dbfntx/dbfntx1.c @@ -282,7 +282,7 @@ static int hb_ntxTagFindCurrentKey( LPPAGEINFO pPage, LONG lBlock, LPKEYINFO pKe /* pKey <= p */ { if( ( k == 0 && !lSeek && (ULONG)p->Xtra != pPage->TagParent->Owner->Owner->ulRecNo ) - || ( hb_set.HB_SET_DELETED && ntxIsDeleted( pPage->TagParent->Owner->Owner, p->Xtra ) && lSeek ) ) + || ( lSeek && hb_set.HB_SET_DELETED && ntxIsDeleted( pPage->TagParent->Owner->Owner, p->Xtra ) ) ) k = 1; if( k <= 0 ) {