diff --git a/docs/changes.txt b/docs/changes.txt index 81d4fb71ab..8671524444 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -201,6 +201,7 @@ Unix: - Unicode compilation fix in wxDateTime - typo in configure which broke AIX build fixed (Swengtoo) +- fixed priorities of mailcap entries (David Hart) wxMSW: diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index 77ab82d6e8..b96e3e6486 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -2559,7 +2559,7 @@ bool wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName, // and if we have, was it in this file? overwrite = nIndex == wxNOT_FOUND || - aIndicesSeenHere.Index(nIndex) != wxNOT_FOUND; + aIndicesSeenHere.Index(nIndex) == wxNOT_FOUND; } wxLogTrace(TRACE_MIME, _T("mailcap %s: %s [%s]"),