Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Adjusted MIME Magic so it fetches from an application called file on non-Windows...
authorKiri <kiri@Kiriha.LasLindas>
Wed, 12 Aug 2015 14:23:36 +0000 (15:23 +0100)
committerKiri <kiri@Kiriha.LasLindas>
Wed, 12 Aug 2015 14:23:36 +0000 (15:23 +0100)
source/common/mime.cpp

index 5db593c..8c59be2 100644 (file)
@@ -19,7 +19,7 @@ wxString GetMIME(wxString FilenameInc){
     
     // TODO: Sort out Win32.
     
-#elif defined(__APPLE__)
+#else
     
 #include <stdio.h>
     
@@ -50,7 +50,9 @@ wxString GetMIME(wxString FilenameInc){
     
     MIMEResult.Trim();
     
-#else
+#endif
+    
+/*#else
     
 #include <magic.h>
     
@@ -76,7 +78,7 @@ wxString GetMIME(wxString FilenameInc){
     MIMEResult = wxString::FromUTF8(MIMEType);
     magic_close(MagicCookie);
     
-#endif
+#endif*/
     
     return MIMEResult;
     
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy