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

changed to point to mozilla.hst instead.
This commit is contained in:
hyatt 1998-04-07 17:49:08 +00:00
Родитель 88494d23be
Коммит 86377ddcdd
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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);
}
}