diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-20 07:18:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-20 07:18:21 +0000 |
commit | 8eaea03b376ddda81c6f31c2cb1d46963b16d8a2 (patch) | |
tree | 1658c07b25e2e75e85a93836687b116229907e64 /plugins/MetaContacts/meta_menu.c | |
parent | b766ebf1a1091dcc2859a92da300c44e0e432a84 (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 'plugins/MetaContacts/meta_menu.c')
-rw-r--r-- | plugins/MetaContacts/meta_menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MetaContacts/meta_menu.c b/plugins/MetaContacts/meta_menu.c index 6e7ad9f1c6..e71e9357a5 100644 --- a/plugins/MetaContacts/meta_menu.c +++ b/plugins/MetaContacts/meta_menu.c @@ -224,15 +224,15 @@ void Meta_RemoveContactNumber(HANDLE hMeta, int number) { // fix avatar
hContact = Meta_GetMostOnlineSupporting(hMeta, PFLAGNUM_4, PF4_AVATARS);
if (hContact) {
- PROTO_AVATAR_INFORMATION AI;
+ PROTO_AVATAR_INFORMATIONT AI;
AI.cbSize = sizeof(AI);
AI.hContact = hMeta;
AI.format = PA_FORMAT_UNKNOWN;
- strcpy(AI.filename, "X");
+ _tcscpy(AI.filename, _T("X"));
- if ((int)CallProtoService(META_PROTO, PS_GETAVATARINFO, 0, (LPARAM)&AI) == GAIR_SUCCESS)
- DBWriteContactSettingString(hMeta, "ContactPhoto", "File",AI.filename);
+ if ((int)CallProtoService(META_PROTO, PS_GETAVATARINFOT, 0, (LPARAM)&AI) == GAIR_SUCCESS)
+ DBWriteContactSettingTString(hMeta, "ContactPhoto", "File",AI.filename);
}
}
}
|