X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..ec2df34e27ba41f202ecbf096cdfed082a9ddb8f:/src/osx/carbon/mimetmac.cpp diff --git a/src/osx/carbon/mimetmac.cpp b/src/osx/carbon/mimetmac.cpp index 586b6e0c83..38ce5f85d6 100644 --- a/src/osx/carbon/mimetmac.cpp +++ b/src/osx/carbon/mimetmac.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/osx/carbon/mimetype.cpp +// Name: src/osx/carbon/mimetmac.cpp // Purpose: Mac Carbon implementation for wx MIME-related classes // Author: Ryan Norton // Modified by: @@ -630,7 +630,7 @@ void wxMimeTypesManagerImpl::ClearData() // // Q) Iterating through the map - why does it use if (err == noErr) instead of just asserting? -// A) Some intermediate indexes are bad while subsequent ones may be good. Its wierd, I know. +// A) Some intermediate indexes are bad while subsequent ones may be good. Its weird, I know. // // extension -> file type @@ -1404,7 +1404,9 @@ wxFileType* wxMimeTypesManagerImpl::Associate(const wxFileTypeInfo& ftInfo) wxString sError; bInfoOpenSuccess = cfdInfo.ReadAsXML(cfdaInDict, &sError); if (!bInfoOpenSuccess) + { wxLogDebug(sError); + } indictfile.Close(); } @@ -1752,7 +1754,9 @@ wxMimeTypesManagerImpl::Unassociate(wxFileType *pFileType) wxString sError; bInfoOpenSuccess = cfdInfo.ReadAsXML(cfdaInDict, &sError); if (!bInfoOpenSuccess) + { wxLogDebug(sError); + } indictfile.Close(); } @@ -1853,7 +1857,9 @@ wxMimeTypesManagerImpl::Unassociate(wxFileType *pFileType) wxLogDebug(sPrintOut); for (size_t i = 0; i < asExtensions.GetCount(); ++i) + { wxLogDebug(asExtensions[i]); + } } } else