Fixed loading of whole file:... specification of a page

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2013-06-17 20:21:54 +00:00
parent 35f95708e3
commit d5bfe58482

View File

@@ -245,7 +245,7 @@ bool HP_TagHandler::HandleTag(const wxHtmlTag& tag)
wxString wxHtmlBookRecord::GetFullPath(const wxString &page) const
{
if (wxIsAbsolutePath(page))
if (wxIsAbsolutePath(page) || page.Find(wxT("file:")) == 0)
return page;
else
return m_BasePath + page;