зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
941c1c8b83
Коммит
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче