Use the right dir as the default download location. Bug 204548, patch by

josha@mac.com (Josh Aas), r=sdagley, sr=bzbarsky
This commit is contained in:
bzbarsky%mit.edu 2004-01-06 07:37:55 +00:00
parent 941c1c8b83
commit eb0805091d

View File

@ -904,7 +904,7 @@ nsDirectoryService::GetFile(const char *prop, PRBool *persistent, nsIFile **_ret
if NS_FAILED(rv)
{
// We got an error getting the DL folder from IC so try finding the user's Desktop folder
rv = GetOSXFolderType(kUserDomain, kSystemDesktopFolderType, getter_AddRefs(localFile));
rv = GetOSXFolderType(kUserDomain, kDesktopFolderType, getter_AddRefs(localFile));
}
}