r = sspitzer, a = brendan
OS/2 bringup - Our profile is located in the OS2 directory


git-svn-id: svn://10.0.0.236/trunk@73842 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com
2000-07-07 21:56:48 +00:00
parent dcd9b3c47c
commit ea813c8f0a

View File

@@ -1279,8 +1279,12 @@ NS_IMETHODIMP nsProfile::MigrateProfileInfo()
char oldRegFile[_MAX_LENGTH] = {'\0'};
#ifdef XP_PC
#ifdef XP_OS2
nsSpecialSystemDirectory system(nsSpecialSystemDirectory::OS2_OS2Directory);
#else
// Registry file has been traditionally stored in the windows directory (XP_PC).
nsSpecialSystemDirectory systemDir(nsSpecialSystemDirectory::Win_WindowsDirectory);
#endif
// Append the name of the old registry to the path obtained.
PL_strcpy(oldRegFile, systemDir.GetNativePathCString());