Nathan Wykes' fix to get history working with Aurora. References to netscape.hst were

changed to point to mozilla.hst instead.


git-svn-id: svn://10.0.0.236/trunk@56 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt
1998-04-07 17:49:08 +00:00
parent 504e7bacc9
commit f143703e4e

View File

@@ -2052,8 +2052,8 @@ int login_UpdateFilesToNewLocation(const char * path,CWnd *pParent,BOOL bCop
CString csHist = theApp.GetProfileString("History","History File","");
if (!csHist.IsEmpty()) {
csTmp = path;
csTmp += "\\netscape.hst";
pDlg->StartFileUpdate("General Files","netscape.hst");
csTmp += "\\mozilla.hst";
pDlg->StartFileUpdate("General Files","mozilla.hst");
if (bCopyDontMove) {
WFE_CopyFile(csHist,csTmp);
} else {
@@ -2063,9 +2063,9 @@ int login_UpdateFilesToNewLocation(const char * path,CWnd *pParent,BOOL bCop
} else {
if (!csMain.IsEmpty()) {
csTmp = path;
csTmp += "\\netscape.hst";
pDlg->StartFileUpdate("General Files","netscape.hst");
WFE_CopyFile(csMain + "\\netscape.hst" ,csTmp);
csTmp += "\\mozilla.hst";
pDlg->StartFileUpdate("General Files","mozilla.hst");
WFE_CopyFile(csMain + "\\mozilla.hst" ,csTmp);
}
}