ignore the icon option in Netscape mime.type file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2117,8 +2117,13 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName)
|
|||||||
strExtensions = strRHS;
|
strExtensions = strRHS;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
wxLogWarning(_("Unknown field in file %s, line %d: '%s'."),
|
// this one is simply ignored: it usually refers to Netscape
|
||||||
strFileName.c_str(), nLine + 1, strLHS.c_str());
|
// 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 ) {
|
if ( !entryEnded ) {
|
||||||
|
Reference in New Issue
Block a user