From 511497e73d48eef2d2f87af6eeee5ff1a585c470 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 21 Nov 2012 22:50:15 +0000 Subject: Xfire: fix for a folder creation git-svn-id: http://svn.miranda-ng.org/main/trunk@2426 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols/Xfire') 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); -- cgit v1.2.3