diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-04 20:29:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-04 20:29:09 +0000 |
commit | 84cb58607f11d437b875e0db3857a94920c3a6b6 (patch) | |
tree | b2ce87a082b50ec361aac2867821cc1df1920eb5 | |
parent | 5fd346615baf56cb8447a23ce8f02cba7f55a2c1 (diff) |
PluginUpdater doesn't work when a profile is located on the different partition
git-svn-id: http://svn.miranda-ng.org/main/trunk@2967 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/PluginUpdater/src/PluginUpdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index 5fc6572a5d..678cc6c5df 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -91,7 +91,7 @@ extern "C" __declspec(dllexport) int Load(void) if (hPluginUpdaterFolder)
OnFoldersChanged(0, 0);
else {
- mir_ptr<TCHAR> tszFolder( Utils_ReplaceVarsT(_T("%miranda_userdata%\\"DEFAULT_UPDATES_FOLDER)));
+ mir_ptr<TCHAR> tszFolder( Utils_ReplaceVarsT(_T("%miranda_path%\\"DEFAULT_UPDATES_FOLDER)));
lstrcpyn(tszRoot, tszFolder, SIZEOF(tszRoot));
}
|