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 ) {