mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
PBGetVInfo()->PBHGetVInfo() for carbon compliance.
This commit is contained in:
parent
b900869c23
commit
afb8490fa1
@ -591,13 +591,13 @@ GetVolumeList(nsVoidArray **array)
|
||||
|
||||
#ifdef XP_MAC
|
||||
StrFileName fname;
|
||||
ParamBlockRec pb;
|
||||
HParamBlockRec pb;
|
||||
for (int16 volNum = 1; ; volNum++)
|
||||
{
|
||||
pb.volumeParam.ioCompletion = NULL;
|
||||
pb.volumeParam.ioVolIndex = volNum;
|
||||
pb.volumeParam.ioNamePtr = (StringPtr)fname;
|
||||
if (PBGetVInfo(&pb,FALSE) != noErr)
|
||||
if (PBHGetVInfo(&pb,FALSE) != noErr)
|
||||
break;
|
||||
nsFileSpec fss(pb.volumeParam.ioVRefNum, fsRtParID, fname);
|
||||
if (NS_SUCCEEDED(gRDFService->GetResource(nsFileURL(fss).GetAsString(), (nsIRDFResource**)&vol)))
|
||||
|
Loading…
Reference in New Issue
Block a user