X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3527f29c8769e09d796c547c0c309f8b86407012..9d1e4703d315e6ee0a4257777b1ac175fd14325e:/src/html/chm.cpp?ds=inline diff --git a/src/html/chm.cpp b/src/html/chm.cpp index bdba0005b2..627b039f33 100644 --- a/src/html/chm.cpp +++ b/src/html/chm.cpp @@ -4,7 +4,7 @@ // Author: Markus Sinner // Copyright: (c) 2003 Herd Software Development // CVS-ID: $Id$ -// Licence: wxWindows Licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" @@ -122,7 +122,7 @@ wxChmTools::wxChmTools(const wxFileName &archive) // strdup() [libmspack-20030726], which would cause crashes in // Unicode build when mb_str() returns temporary buffer m_chmFileNameANSI = strdup((const char*)m_chmFileName.mb_str(wxConvFile)); - + // Open the archive and store it in class: if ( (chmh = chmd->open(chmd, (char*)m_chmFileNameANSI)) ) { @@ -204,7 +204,7 @@ bool wxChmTools::Contains(const wxString& pattern) * * Finds the next file descibed by a pattern in the archive, starting * the file given by second parameter - * + * * @param pattern The file-pattern to search for. May contain '*' and/or '?' * @param startfrom The filename which the search should start after * @returns The full pathname of the found file @@ -557,11 +557,11 @@ wxChmInputStream::CreateHHPStream() const char *tmp; // Try to open the #SYSTEM-File and create the HHP File out of it - // see http://bonedaddy.net/pabs3/chmspec/0.1/ch05s03.html#SYSTEM - if ( ! m_chm->Contains(_("/#SYSTEM")) ) + // see http://bonedaddy.net/pabs3/chmspec/0.1.2/Internal.html#SYSTEM + if ( ! m_chm->Contains(_T("/#SYSTEM")) ) { #ifdef DEBUG - wxLogDebug("Archive doesnt contain #SYSTEM file"); + wxLogDebug(_("Archive doesnt contain #SYSTEM file")); #endif return; }