X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b79e32cce79b24905bb8a5f6098659ddd8021cf5..8de1759c6f4581e74df1a05358c35f047500da24:/src/unix/mimetype.cpp diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index 0fdc0fe837..3f6c023782 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -2117,8 +2117,13 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName) strExtensions = strRHS; } else { - wxLogWarning(_("Unknown field in file %s, line %d: '%s'."), - strFileName.c_str(), nLine + 1, strLHS.c_str()); + // this one is simply ignored: it usually refers to Netscape + // built in icons which are useless for us anyhow + if ( strLHS != _T("icon") ) + { + wxLogWarning(_("Unknown field in file %s, line %d: '%s'."), + strFileName.c_str(), nLine + 1, strLHS.c_str()); + } } if ( !entryEnded ) {