summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-03 21:46:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-03 21:46:15 +0300
commitde330d15973d8a3303a242934229e8f9d87d4361 (patch)
treef9292247005d2935e7a53153772de5a7f156cecd /src
parent5cba53440b3b01f9844fb8a395ada6be40a54a7a (diff)
.
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/proto_utils.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mir_app/src/proto_utils.cpp b/src/mir_app/src/proto_utils.cpp
index 32d8c10f8c..6ba435414e 100644
--- a/src/mir_app/src/proto_utils.cpp
+++ b/src/mir_app/src/proto_utils.cpp
@@ -239,14 +239,14 @@ MIR_APP_DLL(int) ProtoGetAvatarFileFormat(const wchar_t *ptszFileName)
static wchar_t *wszMimeTypes[] =
{
- L"binary", // PA_FORMAT_UNKNOWN
- L"image/png", // PA_FORMAT_PNG
- L"image/jpeg", // PA_FORMAT_JPEG
- L"image/icon", // PA_FORMAT_ICON
- L"image/bmp", // PA_FORMAT_BMP
- L"image/gif", // PA_FORMAT_GIF
- L"image/swf", // PA_FORMAT_SWF
- L"application/xml" // PA_FORMAT_XML
+ L"application/octet-stream", // PA_FORMAT_UNKNOWN
+ L"image/png", // PA_FORMAT_PNG
+ L"image/jpeg", // PA_FORMAT_JPEG
+ L"image/icon", // PA_FORMAT_ICON
+ L"image/bmp", // PA_FORMAT_BMP
+ L"image/gif", // PA_FORMAT_GIF
+ L"image/swf", // PA_FORMAT_SWF
+ L"application/xml" // PA_FORMAT_XML
};
MIR_APP_DLL(const wchar_t*) ProtoGetAvatarMimeType(int iFileType)