зеркало из https://github.com/mozilla/gecko-dev.git
Bug 454242 - The location of files used by helper app locations is no longer consistent with the download location.
Follow-up patch to make the original actually work. nsIFile is not the same as nsILocalFile :( r=mconnor sr=mconnor
This commit is contained in:
Родитель
0a35e2cea0
Коммит
edbd2ecbab
|
@ -410,7 +410,7 @@ static nsresult GetDownloadDirectory(nsIFile **_directory)
|
||||||
case NS_FOLDER_VALUE_CUSTOM:
|
case NS_FOLDER_VALUE_CUSTOM:
|
||||||
{
|
{
|
||||||
(void) prefs->GetComplexValue(NS_PREF_DOWNLOAD_DIR,
|
(void) prefs->GetComplexValue(NS_PREF_DOWNLOAD_DIR,
|
||||||
NS_GET_IID(nsIFile),
|
NS_GET_IID(nsILocalFile),
|
||||||
getter_AddRefs(dir));
|
getter_AddRefs(dir));
|
||||||
if (!dir) break;
|
if (!dir) break;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче