X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/211dfeddfca5c5992db510bdaa72226bf2013c05..a7061e3dc03a356d5286a58bdadae138bf45a96a:/src/html/helpdata.cpp diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index a3b76378e9..11af5d51dc 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -63,7 +63,7 @@ static char* ReadLine(char *line, char *buf) static int LINKAGEMODE IndexCompareFunc(const void *a, const void *b) { - return wxStrcmp(((wxHtmlContentsItem*)a)->m_Name, ((wxHtmlContentsItem*)b)->m_Name); + return wxStricmp(((wxHtmlContentsItem*)a)->m_Name, ((wxHtmlContentsItem*)b)->m_Name); } @@ -569,7 +569,7 @@ bool wxHtmlHelpData::AddBook(const wxString& book) index = wxEmptyString, charset = wxEmptyString; -#ifdef __WXMAC__ +#if defined(__WXMAC__) && !defined(__DARWIN__) if (wxIsAbsolutePath(book)) bookFull = book; else bookFull = wxGetCwd() + book; // no slash or dot wxFileName fn( bookFull );