From 24de63031176b0c645de849c70aff2387919eff7 Mon Sep 17 00:00:00 2001 From: "racham%netscape.com" Date: Tue, 22 Jun 1999 01:02:11 +0000 Subject: [PATCH] Made DefaultUserProfileRoot as home for migrated profiles git-svn-id: svn://10.0.0.236/trunk@36176 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/profile/src/nsProfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/profile/src/nsProfile.cpp b/mozilla/profile/src/nsProfile.cpp index 6793e32ecda..7dc3c8ba891 100644 --- a/mozilla/profile/src/nsProfile.cpp +++ b/mozilla/profile/src/nsProfile.cpp @@ -1866,12 +1866,12 @@ NS_IMETHODIMP nsProfile::MigrateProfile(const char* profileName) // Get current profile, make the new one a sibling... nsIFileSpec* newSpec = NS_LocateFileOrDirectory( - nsSpecialFileSpec::App_UserProfileDirectory50); + nsSpecialFileSpec::App_DefaultUserProfileRoot50); if (!newSpec) return NS_ERROR_FAILURE; newSpec->GetFileSpec(&newProfDir); NS_RELEASE(newSpec); - newProfDir.SetLeafName(profileName); + newProfDir += profileName; // Call migration service to do the work.