diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-28 17:38:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-28 17:38:49 +0000 |
commit | 5e9e63c45e37917ffb0acd83832d0d8f99d01883 (patch) | |
tree | 1b674b85b1f582a13bd2a57ec73377b8989141bc /protocols/AimOscar/src/avatars.cpp | |
parent | 7105dcf75bdd939ca52ba045bc29c536c3f7ba49 (diff) |
new macroses for MS_PROTO_CHAINRECV: ProtoChainRecv, ProtoChainRecvMsg & ProtoChainRecvFile
git-svn-id: http://svn.miranda-ng.org/main/trunk@2540 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/avatars.cpp')
-rw-r--r-- | protocols/AimOscar/src/avatars.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/AimOscar/src/avatars.cpp b/protocols/AimOscar/src/avatars.cpp index 4c7de35f18..769c940cea 100644 --- a/protocols/AimOscar/src/avatars.cpp +++ b/protocols/AimOscar/src/avatars.cpp @@ -131,17 +131,17 @@ void CAimProto::avatar_retrieval_handler(const char* sn, const char* hash, const int detect_image_type(const char* stream, const TCHAR* &type_ret)
{
- if(stream[0]=='G'&&stream[1]=='I'&&stream[2]=='F')
+ if (stream[0]=='G'&&stream[1]=='I'&&stream[2]=='F')
{
type_ret = _T(".gif");
return PA_FORMAT_GIF;
}
- else if(stream[1]=='P'&&stream[2]=='N'&&stream[3]=='G')
+ else if (stream[1]=='P'&&stream[2]=='N'&&stream[3]=='G')
{
type_ret = _T(".png");
return PA_FORMAT_PNG;
}
- else if(stream[0]=='B'&&stream[1]=='M')
+ else if (stream[0]=='B'&&stream[1]=='M')
{
type_ret = _T(".bmp");
return PA_FORMAT_BMP;
|