From c4895dd106f7d8df9b5807a2c4b5070f6109e780 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Tue, 6 Jan 2004 07:37:55 +0000 Subject: [PATCH] Use the right dir as the default download location. Bug 204548, patch by josha@mac.com (Josh Aas), r=sdagley, sr=bzbarsky --- xpcom/io/nsDirectoryService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/io/nsDirectoryService.cpp b/xpcom/io/nsDirectoryService.cpp index 46307e57da6..c98f384f4ac 100644 --- a/xpcom/io/nsDirectoryService.cpp +++ b/xpcom/io/nsDirectoryService.cpp @@ -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)); } }