diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-06 19:21:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-06 19:21:55 +0000 |
commit | b54aa7ddb41c1d62d2b05407b535acd52b761ca2 (patch) | |
tree | c3a383378c73bd73291926078734b483e7122bb2 /plugins/PluginUpdater/src | |
parent | 9c6b11ff995d448ac8bcf8f9ff40e90b5992a42e (diff) |
Temp & Backup folders were swapped
git-svn-id: http://svn.miranda-ng.org/main/trunk@1386 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r-- | plugins/PluginUpdater/src/Notifications.cpp | 4 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/Scanner.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index 3bcc187f4a..3955d7100b 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -269,7 +269,7 @@ static void ApplyUpdates(void* param) else
rc = MessageBox(NULL, temp.Text, temp.Title, MB_YESNO | MB_ICONQUESTION);
if (rc != IDYES) {
- mir_sntprintf(tszBuff, SIZEOF(tszBuff), TranslateT("You have chosen not to install the plugin updates immediately.\nYou can install it manually from this location:\n\n%s"), tszFileBack);
+ mir_sntprintf(tszBuff, SIZEOF(tszBuff), TranslateT("You have chosen not to install the plugin updates immediately.\nYou can install it manually from this location:\n\n%s"), tszFileTemp);
ShowPopup(0, LPGENT("Plugin Updater"), tszBuff, 2, 0);
DestroyWindow(hDlg);
return;
@@ -282,7 +282,7 @@ static void ApplyUpdates(void* param) continue;
FILEINFO& p = todo[i];
- unzip(p.File.tszDiskPath, tszMirandaPath, tszFileTemp);
+ unzip(p.File.tszDiskPath, tszMirandaPath, tszFileBack);
}
DestroyWindow(hDlg);
diff --git a/plugins/PluginUpdater/src/Scanner.cpp b/plugins/PluginUpdater/src/Scanner.cpp index 13cd2adf05..20cc98ea40 100644 --- a/plugins/PluginUpdater/src/Scanner.cpp +++ b/plugins/PluginUpdater/src/Scanner.cpp @@ -40,7 +40,7 @@ static void ScanFolder(const TCHAR* tszFolder, const TCHAR* tszBaseUrl, hashMap& {
TCHAR tszMask[MAX_PATH], tszFileBack[MAX_PATH];
mir_sntprintf(tszMask, SIZEOF(tszMask), _T("%s\\*"), tszFolder);
- mir_sntprintf(tszFileBack, SIZEOF(tszFileBack), _T("%s\\Backups"), tszRoot);
+ mir_sntprintf(tszFileBack, SIZEOF(tszFileBack), _T("%s\\Temp"), tszRoot);
WIN32_FIND_DATA ffd;
HANDLE hFind = FindFirstFile(tszMask, &ffd);
|