summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/processbuddyinfo.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-11-20 15:08:57 +0000
committerRobert Pösel <robyer@seznam.cz>2012-11-20 15:08:57 +0000
commitdc10ccec13d8fa7dfe6f263ee19490b05464a0d0 (patch)
tree411d7f428df37f7478ecf7183ef29d0c8365e412 /protocols/Xfire/src/processbuddyinfo.cpp
parent6853eac17709ea7d4694f4a38fcc9e1867f4ce8d (diff)
xFire: Fixed TString madness, protocol should work properly now.
git-svn-id: http://svn.miranda-ng.org/main/trunk@2395 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/processbuddyinfo.cpp')
-rw-r--r--protocols/Xfire/src/processbuddyinfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Xfire/src/processbuddyinfo.cpp b/protocols/Xfire/src/processbuddyinfo.cpp
index f02f50142b..8079d35e4c 100644
--- a/protocols/Xfire/src/processbuddyinfo.cpp
+++ b/protocols/Xfire/src/processbuddyinfo.cpp
@@ -5,9 +5,9 @@
/*
-DBWriteContactSettingTString(xsa->hContact, "ContactPhoto", "Backup", av.backup);
-DBWriteContactSettingTString(xsa->hContact, "ContactPhoto", "File", av.file);
-DBWriteContactSettingTString(xsa->hContact, "ContactPhoto", "RFile", av.rfile);
+DBWriteContactSettingString(xsa->hContact, "ContactPhoto", "Backup", av.backup);
+DBWriteContactSettingString(xsa->hContact, "ContactPhoto", "File", av.file);
+DBWriteContactSettingString(xsa->hContact, "ContactPhoto", "RFile", av.rfile);
DBWriteContactSettingWord(xsa->hContact, "ContactPhoto", "Format", av.type);
*/
@@ -103,7 +103,7 @@ void ProcessBuddyInfo(xfirelib::BuddyInfoPacket *buddyinfo,HANDLE hcontact,char*
DBWriteContactSettingDword(NULL, protocolname, "XFireAvatarId", buddyinfo->avatarid);
DBWriteContactSettingByte(NULL, protocolname, "XFireAvatarMode", buddyinfo->avatarmode);
//neuen avatarfilepath eintragen
- DBWriteContactSettingTString(NULL,protocolname, "MyAvatarFile",filename);
+ DBWriteContactSettingString(NULL,protocolname, "MyAvatarFile",filename);
//beshceid geben, avatar hat sich geändert
CallService(MS_AV_REPORTMYAVATARCHANGED,(WPARAM)protocolname,0);
}