Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc672d
)
Adjusted MIME Magic so it fetches from an application called file on non-Windows...
author
Kiri
<kiri@Kiriha.LasLindas>
Wed, 12 Aug 2015 14:23:36 +0000
(15:23 +0100)
committer
Kiri
<kiri@Kiriha.LasLindas>
Wed, 12 Aug 2015 14:23:36 +0000
(15:23 +0100)
source/common/mime.cpp
patch
|
blob
|
history
diff --git
a/source/common/mime.cpp
b/source/common/mime.cpp
index
5db593c
..
8c59be2
100644
(file)
--- a/
source/common/mime.cpp
+++ b/
source/common/mime.cpp
@@
-19,7
+19,7
@@
wxString GetMIME(wxString FilenameInc){
// TODO: Sort out Win32.
-#el
if defined(__APPLE__)
+#el
se
#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;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy