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:
@@ -245,7 +245,7 @@ bool HP_TagHandler::HandleTag(const wxHtmlTag& tag)
|
|||||||
|
|
||||||
wxString wxHtmlBookRecord::GetFullPath(const wxString &page) const
|
wxString wxHtmlBookRecord::GetFullPath(const wxString &page) const
|
||||||
{
|
{
|
||||||
if (wxIsAbsolutePath(page))
|
if (wxIsAbsolutePath(page) || page.Find(wxT("file:")) == 0)
|
||||||
return page;
|
return page;
|
||||||
else
|
else
|
||||||
return m_BasePath + page;
|
return m_BasePath + page;
|
||||||
|
Reference in New Issue
Block a user