X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/057b55b016d9e2076fde422f29948dc55e97f0d7..0f2ecc913ba8f6998a3c77001e20210aca0b9d0a:/src/html/helpdata.cpp diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index 7cf0465e1e..6ba01be7f7 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -569,8 +569,8 @@ bool wxHtmlHelpData::AddBook(const wxString& book) charset = wxEmptyString; #ifdef __WXMAC__ - // wxIsAbsolutePath is broken - bookFull = wxGetCwd() + ":" + book; + if (wxIsAbsolutePath(book)) bookFull = book; + else bookFull = wxGetCwd() + book; // no slash or dot wxFileName fn( bookFull ); bookFull = fn.GetFullPath( wxPATH_UNIX ); #else