зеркало из https://github.com/mozilla/pjs.git
Little tweak on fix. r=darin. Bug 231995.
This commit is contained in:
Родитель
b3d5179968
Коммит
e25ab1e1e0
|
@ -1181,7 +1181,7 @@ nsProfileAccess::Get4xProfileInfo(nsIFile *registryFile, PRBool fromImport)
|
||||||
profileLocation += "/.netscape";
|
profileLocation += "/.netscape";
|
||||||
|
|
||||||
nsCOMPtr<nsILocalFile> fileInNSDir;
|
nsCOMPtr<nsILocalFile> fileInNSDir;
|
||||||
rv = NS_NewNativeLocalFile(nsCAutoString(profileLocation + NS_LITERAL_CSTRING("/preferences.js")),
|
rv = NS_NewNativeLocalFile(nsCString(profileLocation + NS_LITERAL_CSTRING("/preferences.js")),
|
||||||
PR_TRUE,
|
PR_TRUE,
|
||||||
getter_AddRefs(fileInNSDir));
|
getter_AddRefs(fileInNSDir));
|
||||||
if (NS_FAILED(rv))
|
if (NS_FAILED(rv))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче