summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-11-21 22:50:15 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-11-21 22:50:15 +0000
commit511497e73d48eef2d2f87af6eeee5ff1a585c470 (patch)
treed4bdbb0b514899d3cd9cd571a747d5b5d5121aff /protocols/Xfire
parent7ae62cb4fb617c2452592334f174f98ec8c8e517 (diff)
Xfire: fix for a folder creation
git-svn-id: http://svn.miranda-ng.org/main/trunk@2426 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire')
-rw-r--r--protocols/Xfire/src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp
index 679b671fab..f3f05cc4dd 100644
--- a/protocols/Xfire/src/main.cpp
+++ b/protocols/Xfire/src/main.cpp
@@ -129,7 +129,7 @@ PLUGININFOEX pluginInfoEx={
sizeof(PLUGININFOEX),
"Xfire protocol",
PLUGIN_MAKE_VERSION(0,1,8,4),
- "Xfire Protocol Plugin by dufte [Built: "__DATE__" "__TIME__"]",
+ "Xfire Protocol Plugin by dufte",
"dufte",
"dufte@justmail.de",
"(c) 2012 Xfirelib by Herbert Poul, Xfire Miranda protocol plugin by dufte",
@@ -1207,6 +1207,8 @@ extern "C" __declspec(dllexport) int Load(void)
char AvatarsFolder[MAX_PATH]= "";
CallService(MS_DB_GETPROFILEPATH, (WPARAM) MAX_PATH, (LPARAM)AvatarsFolder);
strcat(AvatarsFolder, "\\");
+ strcat(AvatarsFolder, CURRENT_PROFILE);
+ strcat(AvatarsFolder, "\\");
strcat(AvatarsFolder, "XFire");
XFireWorkingFolder = FoldersRegisterCustomPath(protocolname, "Working Folder", AvatarsFolder);
XFireIconFolder = FoldersRegisterCustomPath(protocolname, "Game Icon Folder", AvatarsFolder);