X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a63bdc860c10529ec2a9eb2edba966974a06ae7..27d79a5027bee4f46e57c813d072422065cb1592:/src/html/helpdata.cpp 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;