diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e56d8f76b6..17bf4e0ab3 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-10-05 07:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rdd/dbf1.c + ! fixed typo in record CP translation condition + 2009-10-04 21:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added "Unibin" example for Mac OS X. diff --git a/harbour/source/rdd/dbf1.c b/harbour/source/rdd/dbf1.c index 16ddf087bc..436417cc52 100644 --- a/harbour/source/rdd/dbf1.c +++ b/harbour/source/rdd/dbf1.c @@ -4393,7 +4393,7 @@ void hb_dbfTranslateRec( DBFAREAP pArea, BYTE * pBuffer, PHB_CODEPAGE cdp_src, P for( uiIndex = 0, pField = pArea->area.lpFields; uiIndex < pArea->area.uiFieldCount; uiIndex++, pField++ ) { - if( ( pField->uiFlags && HB_FF_BINARY ) == 0 && + if( ( pField->uiFlags & HB_FF_BINARY ) == 0 && ( pField->uiType == HB_FT_STRING || pField->uiType == HB_FT_VARLENGTH ) ) { if( pTmpBuf == NULL )