Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Right click menu support added for the contact list and search results.
[xestiaab/.git]
/
source
/
common
/
mime.cpp
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.
// TODO: Sort out Win32.
-#el
if defined(__APPLE__)
+#el
se
#include <stdio.h>
#include <stdio.h>
@@
-50,7
+50,9
@@
wxString GetMIME(wxString FilenameInc){
MIMEResult.Trim();
MIMEResult.Trim();
-#else
+#endif
+
+/*#else
#include <magic.h>
#include <magic.h>
@@
-76,7
+78,7
@@
wxString GetMIME(wxString FilenameInc){
MIMEResult = wxString::FromUTF8(MIMEType);
magic_close(MagicCookie);
MIMEResult = wxString::FromUTF8(MIMEType);
magic_close(MagicCookie);
-#endif
+#endif
*/
return MIMEResult;
return MIMEResult;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy