From a0b9945776be852f596a91a5efea4e3823d51bb5 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Thu, 16 Oct 2014 22:53:57 +0000 Subject: 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 --- plugins/PluginUpdater/src/DlgUpdate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3