diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-10-18 14:34:21 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-10-18 14:34:21 +0000 |
commit | 1e7f13db4500b6eb520651b44439d9ae78ca532c (patch) | |
tree | 927a0a7d51477ddc7d442221726562c858dc90c4 /protocols/Xfire/src/processbuddyinfo.cpp | |
parent | c225876c8534502f20d55f22f2d07ce729590bcd (diff) |
XFire: compile plugin as unicode, various fixes and cleanup, version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@6516 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/processbuddyinfo.cpp')
-rw-r--r-- | protocols/Xfire/src/processbuddyinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/processbuddyinfo.cpp b/protocols/Xfire/src/processbuddyinfo.cpp index b23d51b531..1106630c90 100644 --- a/protocols/Xfire/src/processbuddyinfo.cpp +++ b/protocols/Xfire/src/processbuddyinfo.cpp @@ -90,11 +90,11 @@ void ProcessBuddyInfo(xfirelib::BuddyInfoPacket *buddyinfo,HANDLE hcontact,char* {
db_set_dw(hcontact, "ContactPhoto", "XFireAvatarId", buddyinfo->avatarid);
db_set_b(hcontact, "ContactPhoto", "XFireAvatarMode", buddyinfo->avatarmode);
- PROTO_AVATAR_INFORMATION AI;
+ PROTO_AVATAR_INFORMATIONT AI;
AI.cbSize = sizeof(AI);
AI.format = type;
AI.hContact = hcontact;
- lstrcpy(AI.filename,filename);
+ lstrcpy(AI.filename,_A2T(filename));
ProtoBroadcastAck(protocolname, hcontact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS,(HANDLE) &AI, 0);
}
else //eigenen avatar setzen
|