From 8e11ff0b9439a2b6a8e8a387e93c80ac4522150e Mon Sep 17 00:00:00 2001 From: "Alexander S.Kresin" Date: Wed, 26 Mar 2003 08:28:34 +0000 Subject: [PATCH] 2003-03-26 11:30 UTC+0300 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 c53f6457a9..6c7eeb805d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 23:12 UTC+0100 Foo Bar */ +2003-03-26 11:30 UTC+0300 Alexander Kresin + * source/rdd/dbfntx/dbfntx1.c + ! Bug fixed, reported by Andrew McCumiskey + 2003-03-25 21:35 UTC+0300 Alexander Kresin + source/codepage/cdpgewin.c * source/codepage/Makefile diff --git a/harbour/source/rdd/dbfntx/dbfntx1.c b/harbour/source/rdd/dbfntx/dbfntx1.c index 12aeb7fa61..d48d481ce4 100644 --- a/harbour/source/rdd/dbfntx/dbfntx1.c +++ b/harbour/source/rdd/dbfntx/dbfntx1.c @@ -689,7 +689,7 @@ static int hb_ntxTagFindCurrentKey( LPTAGINFO pTag, LPPAGEINFO pPage, LPKEYINFO /* pKey <= p */ { if( ( k == 0 && !lSeek && (ULONG)p->rec_no != pTag->Owner->Owner->ulRecNo ) - || ( lSeek && hb_ntxIsRecBad( pTag->Owner->Owner, p->rec_no ) ) ) + || ( lSeek && p->rec_no && hb_ntxIsRecBad( pTag->Owner->Owner, p->rec_no ) ) ) k = 1; if( k <= 0 && pPage->CurKey < pPage->uiKeys ) {