summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-27 12:10:48 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-27 12:10:48 +0000
commit9944f6cb880bdac8135c715d67b8f7d6b9a14d2d (patch)
treea6fd93b3ce10db572dc2124082994fa6c5e52d48 /protocols/Skype/src/skype.cpp
parent4c11f75fcc59feae082840e8b0e9515257d4f541 (diff)
skypekit save all it is data in user profile folder
git-svn-id: http://svn.miranda-ng.org/main/trunk@2860 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype.cpp')
-rw-r--r--protocols/Skype/src/skype.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp
index db48c01ff4..67354a37b3 100644
--- a/protocols/Skype/src/skype.cpp
+++ b/protocols/Skype/src/skype.cpp
@@ -337,8 +337,10 @@ int StartSkypeRuntime()
}
CloseHandle(snapshot);
- mir_sntprintf(param, SIZEOF(param), L"-p -P %d", port);
+ wchar_t* tszUserFolder = Utils_ReplaceVarsT(_T("%miranda_userdata%\\SkypeKit"));
+ mir_sntprintf(param, SIZEOF(param), L"-p -P %d -f %s", port, tszUserFolder);
int startingrt = CreateProcess(szFilename, param, NULL, NULL, FALSE, CREATE_NEW_CONSOLE, NULL, NULL, &cif, &pi);
+ mir_free(tszUserFolder);
return startingrt;
}