From: Vadim Zeitlin Date: Sun, 5 Oct 2003 19:27:26 +0000 (+0000) Subject: instead of ignoring all unknown MIME keywords, ignore only those not starting with... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70247ce395ae98e4b1b10f1e5c5cd65a2cdfd504 instead of ignoring all unknown MIME keywords, ignore only those not starting with x- (this was always the intended effect but it didn't work like this) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index 3015edf5f7..d5f4415784 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -2173,7 +2173,7 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName) else if ( strLHS == wxT("exts") ) { strExtensions = strRHS; } - else if ( strLHS != _T("icon") ) + else if ( strLHS == _T("icon") ) { // this one is simply ignored: it usually refers to Netscape // built in icons which are useless for us anyhow