diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-17 23:04:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-19 19:24:16 +0300 |
commit | 2e125090810014fa46cd9bb27b2e4daea32ba2f4 (patch) | |
tree | 6b8d6ea72c0adeb7c9ba2a6e01490d6437fa94f6 /include/m_core.h | |
parent | b04db4768abe18ae03e3f9b6f9d7be569d9f14a9 (diff) |
MIME types are of type char, not wchar_t
Diffstat (limited to 'include/m_core.h')
-rw-r--r-- | include/m_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_core.h b/include/m_core.h index a13d9fc118..65a24c3eab 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -324,10 +324,10 @@ MIR_APP_DLL(int) ProtoGetAvatarFormat(const wchar_t *ptszFileName); MIR_APP_DLL(int) ProtoGetAvatarFileFormat(const wchar_t *ptszFileName);
// returns the mime type according to a picture type (PA_*) passed
-MIR_APP_DLL(const wchar_t*) ProtoGetAvatarMimeType(int iFileType);
+MIR_APP_DLL(const char*) ProtoGetAvatarMimeType(int iFileType);
// returns the picture type (PA_*) according to a mime type passed
-MIR_APP_DLL(int) ProtoGetAvatarFormatByMimeType(const wchar_t *pwszMimeType);
+MIR_APP_DLL(int) ProtoGetAvatarFormatByMimeType(const char *pwszMimeType);
// returns the image format and extension by the first bytes of picture
// ptszExtension might be NULL
|