diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-25 10:47:22 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-25 10:47:22 +0000 |
commit | 22c73a4ca5c842cc18ca9b45aa4b883d59d84012 (patch) | |
tree | 243f06609c5b1ce60e5de73e2574b34cec3fa88b /protocols/Xfire/src/processbuddyinfo.cpp | |
parent | 211bbf191607dd8753709a30925cfd7a82149259 (diff) |
- Xfire: now works without folders and variables plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@2474 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/processbuddyinfo.cpp')
-rw-r--r-- | protocols/Xfire/src/processbuddyinfo.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/protocols/Xfire/src/processbuddyinfo.cpp b/protocols/Xfire/src/processbuddyinfo.cpp index 8079d35e4c..38f195b127 100644 --- a/protocols/Xfire/src/processbuddyinfo.cpp +++ b/protocols/Xfire/src/processbuddyinfo.cpp @@ -1,6 +1,6 @@ #include "stdafx.h"
#include "processbuddyinfo.h"
-
+#include "variables.h"
#include <sys\stat.h>
@@ -28,8 +28,8 @@ extern HANDLE XFireAvatarFolder; }*/
void ProcessBuddyInfo(xfirelib::BuddyInfoPacket *buddyinfo,HANDLE hcontact,char* username) {
- char temp[255]="";
- char filename[255];
+ char temp[255] = "";
+ char filename[1024] = "";
BOOL dl=FALSE;
int type;
@@ -50,8 +50,7 @@ void ProcessBuddyInfo(xfirelib::BuddyInfoPacket *buddyinfo,HANDLE hcontact,char* DBDeleteContactSetting(NULL,protocolname, "MyAvatarFile");
}
- FoldersGetCustomPath( XFireAvatarFolder, filename, 255, "" );
- strcat(filename,"\\");
+ strcpy(filename, XFireGetFoldersPath ("Avatar"));
switch(buddyinfo->avatarmode) {
case 1:
|