summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/processbuddyinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/processbuddyinfo.cpp')
-rw-r--r--protocols/Xfire/src/processbuddyinfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Xfire/src/processbuddyinfo.cpp b/protocols/Xfire/src/processbuddyinfo.cpp
index a788f2e7ca..7d03146da4 100644
--- a/protocols/Xfire/src/processbuddyinfo.cpp
+++ b/protocols/Xfire/src/processbuddyinfo.cpp
@@ -90,8 +90,7 @@ void ProcessBuddyInfo(xfirelib::BuddyInfoPacket *buddyinfo, MCONTACT hcontact, c
{
db_set_dw(hcontact, "ContactPhoto", "XFireAvatarId", buddyinfo->avatarid);
db_set_b(hcontact, "ContactPhoto", "XFireAvatarMode", buddyinfo->avatarmode);
- PROTO_AVATAR_INFORMATIONT AI;
- AI.cbSize = sizeof(AI);
+ PROTO_AVATAR_INFORMATION AI;
AI.format = type;
AI.hContact = hcontact;
mir_tstrcpy(AI.filename, _A2T(filename));