From d5bfe584820a1b3eed0f108c852730d9390ad99b Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 17 Jun 2013 20:21:54 +0000 Subject: [PATCH] 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 --- src/html/helpdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2