summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-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;
}