summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-10-16 22:53:57 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-10-16 22:53:57 +0000
commita0b9945776be852f596a91a5efea4e3823d51bb5 (patch)
treee20eeb18030eaeb863c692d73466d2b3c6ff40a7 /plugins/PluginUpdater/src
parentfaf366db0cd54469901a52bf0b58304b01b08c5c (diff)
restoring temp and backup directories (debug repo didn't work without it)
git-svn-id: http://svn.miranda-ng.org/main/trunk@10808 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 36df3735f1..5b23ee7bdc 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -57,9 +57,11 @@ static void ApplyUpdates(void *param)
AutoHandle pipe(hPipe);
HWND hwndList = GetDlgItem(hDlg, IDC_LIST_UPDATES);
- TCHAR tszFileBack[MAX_PATH];
+ TCHAR tszFileTemp[MAX_PATH], tszFileBack[MAX_PATH];
mir_sntprintf(tszFileBack, SIZEOF(tszFileBack), _T("%s\\Backups"), tszRoot);
SafeCreateDirectory(tszFileBack);
+ mir_sntprintf(tszFileTemp, SIZEOF(tszFileTemp), _T("%s\\Temp"), tszRoot);
+ SafeCreateDirectory(tszFileTemp);
// 2) Download all plugins
HANDLE nlc = NULL;