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
This commit is contained in:
Vadim Zeitlin
2003-10-05 19:27:26 +00:00
parent 8c4b73d1c9
commit 70247ce395

View File

@@ -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