From 6e9b73cd1013e8d7a38af1a58ad012d5f03d0dec Mon Sep 17 00:00:00 2001 From: "mark%moxienet.com" Date: Wed, 4 Jan 2006 15:02:57 +0000 Subject: [PATCH] 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 --- mozilla/xpcom/io/nsLocalFileOSX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsLocalFileOSX.cpp b/mozilla/xpcom/io/nsLocalFileOSX.cpp index c6054b02215..aa3411881d7 100644 --- a/mozilla/xpcom/io/nsLocalFileOSX.cpp +++ b/mozilla/xpcom/io/nsLocalFileOSX.cpp @@ -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);