From e25ab1e1e0aaead4d0cac8e858eedda9e9b3bb53 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Thu, 19 Feb 2004 04:04:43 +0000 Subject: [PATCH] Little tweak on fix. r=darin. Bug 231995. --- profile/src/nsProfileAccess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile/src/nsProfileAccess.cpp b/profile/src/nsProfileAccess.cpp index 87c3a7f224b..449f1cc1cae 100644 --- a/profile/src/nsProfileAccess.cpp +++ b/profile/src/nsProfileAccess.cpp @@ -1181,7 +1181,7 @@ nsProfileAccess::Get4xProfileInfo(nsIFile *registryFile, PRBool fromImport) profileLocation += "/.netscape"; nsCOMPtr fileInNSDir; - rv = NS_NewNativeLocalFile(nsCAutoString(profileLocation + NS_LITERAL_CSTRING("/preferences.js")), + rv = NS_NewNativeLocalFile(nsCString(profileLocation + NS_LITERAL_CSTRING("/preferences.js")), PR_TRUE, getter_AddRefs(fileInNSDir)); if (NS_FAILED(rv))