X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2717c3d0c29000fc0eae0de0787d03ba09a249f..2d956b58023a4955313a1c1531bc70a0deb0b831:/src/unix/mimetype.cpp diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index 3f6c023782..4913cd53d5 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -1357,12 +1357,12 @@ void wxMimeTypesManagerImpl::GetMimeInfo (const wxString& sExtraDir) wxString strHome = wxGetenv(wxT("HOME")); wxArrayString dirs; + dirs.Add ( strHome + wxT("/.") ); dirs.Add ( wxT("/etc/") ); dirs.Add ( wxT("/usr/etc/") ); dirs.Add ( wxT("/usr/local/etc/") ); dirs.Add ( wxT("/etc/mail/") ); dirs.Add ( wxT("/usr/public/lib/") ); - dirs.Add ( strHome + wxT("/.") ); if (!sExtraDir.IsEmpty()) dirs.Add ( sExtraDir + wxT("/") ); size_t nDirs = dirs.GetCount();