fix the non UTF8 HT_AddToContainer problem by using the UTF8 title from the history entry instead of the non UTF8 title from MWContext

git-svn-id: svn://10.0.0.236/trunk@11764 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ftang%netscape.com
1998-10-02 12:08:54 +00:00
parent 9c4661e97d
commit f0683051c8

View File

@@ -499,7 +499,7 @@ void CNavTitleBar::OnLButtonUp(UINT nFlags, CPoint point)
History_entry *pHistEnt = SHIST_GetCurrent( &(mwContext->hist) );
if (pHistEnt)
{
HT_AddToContainer( HT_TopNode(m_View), pHistEnt->address, mwContext->title );
HT_AddToContainer( HT_TopNode(m_View), pHistEnt->address, pHistEnt->title );
}
}
}