This commit is contained in:
dougt%netscape.com 1999-07-21 18:18:09 +00:00
parent 73f251839e
commit 42645abb4e

View File

@ -828,7 +828,7 @@ PRBool nsFileSpec::IsHidden() const
CInfoPBRec cInfo;
PRBool hidden = PR_FALSE;
if (noErr = GetCatInfo(cInfo))
if (noErr == GetCatInfo(cInfo))
if (cInfo.hFileInfo.ioFlFndrInfo.fdFlags & kIsInvisible)
hidden = PR_TRUE;