mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
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:
parent
941c1c8b83
commit
eb0805091d
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user