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:
Shawn Wilsher 2009-01-27 14:55:29 -05:00
Родитель 0a35e2cea0
Коммит edbd2ecbab
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;