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:
@@ -2173,7 +2173,7 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName)
|
|||||||
else if ( strLHS == wxT("exts") ) {
|
else if ( strLHS == wxT("exts") ) {
|
||||||
strExtensions = strRHS;
|
strExtensions = strRHS;
|
||||||
}
|
}
|
||||||
else if ( strLHS != _T("icon") )
|
else if ( strLHS == _T("icon") )
|
||||||
{
|
{
|
||||||
// this one is simply ignored: it usually refers to Netscape
|
// this one is simply ignored: it usually refers to Netscape
|
||||||
// built in icons which are useless for us anyhow
|
// built in icons which are useless for us anyhow
|
||||||
|
Reference in New Issue
Block a user