summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-09 20:47:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-09 20:47:03 +0300
commit9c1d8d42b63522d52332bd75b41f5734c0d0ba82 (patch)
tree9d075047a355ceb87f1f2290ba5e9d4aed0f7301 /plugins
parent373239a2a1f63623936011547c0acf2808ff9acb (diff)
warning fix
Diffstat (limited to 'plugins')
-rw-r--r--plugins/PluginUpdater/src/DlgListNew.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp
index 6ed34d3e73..0088c4e983 100644
--- a/plugins/PluginUpdater/src/DlgListNew.cpp
+++ b/plugins/PluginUpdater/src/DlgListNew.cpp
@@ -392,7 +392,7 @@ static void GetList(void *)
for (auto &it : hashes) {
wchar_t tszPath[MAX_PATH];
- mir_snwprintf(tszPath, L"%s\\%s", dirname, it->m_name);
+ mir_snwprintf(tszPath, L"%s\\%s", dirname.get(), it->m_name);
if (GetFileAttributes(tszPath) == INVALID_FILE_ATTRIBUTES) {
FILEINFO *FileInfo = ServerEntryToFileInfo(*it, baseUrl, tszPath);
@@ -474,7 +474,7 @@ static INT_PTR ParseUriService(WPARAM, LPARAM lParam)
VARSW dirName(L"%miranda_path%");
wchar_t tszPath[MAX_PATH];
- mir_snwprintf(tszPath, L"%s\\%s", dirName, hash->m_name);
+ mir_snwprintf(tszPath, L"%s\\%s", dirName.get(), hash->m_name);
FILEINFO *fileInfo = ServerEntryToFileInfo(*hash, baseUrl, tszPath);
FILELIST *fileList = new FILELIST(1);