From f0683051c8013eb8b1713c5e2c6d5419c4ebeea6 Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Fri, 2 Oct 1998 12:08:54 +0000 Subject: [PATCH] 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 --- mozilla/cmd/winfe/navbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/cmd/winfe/navbar.cpp b/mozilla/cmd/winfe/navbar.cpp index e539f32d6d6..515f96b0918 100644 --- a/mozilla/cmd/winfe/navbar.cpp +++ b/mozilla/cmd/winfe/navbar.cpp @@ -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 ); } } }