From: Kiri Date: Wed, 12 Aug 2015 14:23:36 +0000 (+0100) Subject: Adjusted MIME Magic so it fetches from an application called file on non-Windows... X-Git-Tag: release-0.05~84^2~4 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=577a52e4fadab0096da1d0ae5c2786445635a0ac Adjusted MIME Magic so it fetches from an application called file on non-Windows systems. --- diff --git a/source/common/mime.cpp b/source/common/mime.cpp index 5db593c..8c59be2 100644 --- a/source/common/mime.cpp +++ b/source/common/mime.cpp @@ -19,7 +19,7 @@ wxString GetMIME(wxString FilenameInc){ // TODO: Sort out Win32. -#elif defined(__APPLE__) +#else #include @@ -50,7 +50,9 @@ wxString GetMIME(wxString FilenameInc){ MIMEResult.Trim(); -#else +#endif + +/*#else #include @@ -76,7 +78,7 @@ wxString GetMIME(wxString FilenameInc){ MIMEResult = wxString::FromUTF8(MIMEType); magic_close(MagicCookie); -#endif +#endif*/ return MIMEResult;