]> git.saurik.com Git - wxWidgets.git/commitdiff
instead of ignoring all unknown MIME keywords, ignore only those not starting with...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Oct 2003 19:27:26 +0000 (19:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Oct 2003 19:27:26 +0000 (19:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/mimetype.cpp

index 3015edf5f7a8b71e96c97aedc8ebca4501ee6f2d..d5f44157847b65a1c491d3169d2f1d785d534b98 100644 (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