summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/icq_avatar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-20 07:18:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-20 07:18:21 +0000
commit8eaea03b376ddda81c6f31c2cb1d46963b16d8a2 (patch)
tree1658c07b25e2e75e85a93836687b116229907e64 /protocols/IcqOscarJ/icq_avatar.cpp
parentb766ebf1a1091dcc2859a92da300c44e0e432a84 (diff)
total replacement of PROTO_AVATAR_INFORMATION with PROTO_AVATAR_INFORMATIONT
git-svn-id: http://svn.miranda-ng.org/main/trunk@496 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/icq_avatar.cpp')
-rw-r--r--protocols/IcqOscarJ/icq_avatar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/icq_avatar.cpp b/protocols/IcqOscarJ/icq_avatar.cpp
index c49fefe699..99b29b6b76 100644
--- a/protocols/IcqOscarJ/icq_avatar.cpp
+++ b/protocols/IcqOscarJ/icq_avatar.cpp
@@ -1607,10 +1607,10 @@ void avatars_server_connection::handleAvatarFam(BYTE *pBuffer, WORD wBufferLengt
}
}
- ai.cbSize = sizeof(PROTO_AVATAR_INFORMATION);
+ ai.cbSize = sizeof(PROTO_AVATAR_INFORMATIONT);
ai.format = PA_FORMAT_JPEG; // this is for error only
ai.hContact = pCookieData->hContact;
- lstrcpyn(ai.filename, pCookieData->szFile, SIZEOF(ai.filename)); // Avatar API does not support unicode :-(
+ lstrcpyn(ai.filename, pCookieData->szFile, SIZEOF(ai.filename));
AddAvatarExt(PA_FORMAT_JPEG, ai.filename);
ppro->FreeCookie(pSnacHeader->dwRef);