317345 nsLocalFile(OSX)::IsHidden is broken garbage. Use kFSCatInfoFinderInfo to obtain Finder attributes. r=josh sr=smfr a/1.8.0.1,1.8.1=dveditz

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@186907 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mark%moxienet.com
2006-01-04 15:02:57 +00:00
parent c7ebcbffa9
commit 6e9b73cd10

View File

@@ -889,7 +889,7 @@ NS_IMETHODIMP nsLocalFile::IsHidden(PRBool *_retval)
FSCatalogInfo catalogInfo;
HFSUniStr255 leafName;
OSErr err = ::FSGetCatalogInfo(&fsRef, kFSCatInfoNodeFlags, &catalogInfo,
OSErr err = ::FSGetCatalogInfo(&fsRef, kFSCatInfoFinderInfo, &catalogInfo,
&leafName, nsnull, nsnull);
if (err != noErr)
return MacErrorMapper(err);