From: Julian Smart Date: Mon, 17 Jun 2013 20:21:54 +0000 (+0000) Subject: Fixed loading of whole file:... specification of a page X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d5bfe584820a1b3eed0f108c852730d9390ad99b 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 --- diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index 0b67e4482e..0ae98bcb7e 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -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;