X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2717c3d0c29000fc0eae0de0787d03ba09a249f..94af7d45eff65baa84c142b8238267217ba4617d:/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();