diff --git a/harbour/ChangeLog b/harbour/ChangeLog index d52fce3ea7..72688d3ef4 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-04 15:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + * harbour/src/rdd/dbf1.c + ! fixed variable length field setting after DBCREATE() + 2009-12-04 10:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/tests/testprn.prg ! Fixed to fit all examples on the page. diff --git a/harbour/src/rdd/dbf1.c b/harbour/src/rdd/dbf1.c index aa049dccfb..bfd3a815d2 100644 --- a/harbour/src/rdd/dbf1.c +++ b/harbour/src/rdd/dbf1.c @@ -3113,6 +3113,7 @@ static HB_ERRCODE hb_dbfCreate( DBFAREAP pArea, LPDBOPENINFO pCreateInfo ) uiCount = ( pArea->uiNullCount + 7 ) >> 3; pThisField->bLen = ( BYTE ) uiCount; pThisField->bDec = ( BYTE ) ( uiCount >> 8 ); + pArea->uiNullOffset = pArea->uiRecordLen; pArea->uiRecordLen += uiCount; ulSize += sizeof( DBFFIELD ); }