diff --git a/harbour/source/common/hbffind.c b/harbour/source/common/hbffind.c index bb05ad11a2..d19a829ae6 100644 --- a/harbour/source/common/hbffind.c +++ b/harbour/source/common/hbffind.c @@ -600,8 +600,8 @@ PHB_FFIND hb_fsFindFirst( const char * pszFileName, USHORT uiAttr ) if( info->hFindFile != INVALID_HANDLE_VALUE ) { if( info->dwAttr == 0 || - ( info->pFindFileData.dwFileAttributes == FILE_ATTRIBUTE_NORMAL ) || - ( info->dwAttr & info->pFindFileData.dwFileAttributes )) + ( info->pFindFileData.dwFileAttributes == FILE_ATTRIBUTE_NORMAL ) || + ( info->dwAttr & info->pFindFileData.dwFileAttributes )) { bFound = TRUE; }