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