summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-06-14 15:52:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-06-14 15:52:50 +0300
commit53ef1daeb4d1c551f38096a63112793aa57124e3 (patch)
tree777aed41eb29b995e0681ea14a8edaa482941851 /plugins
parent313ab14bd5e61167b871cfada90567c156fa65eb (diff)
warning fix
Diffstat (limited to 'plugins')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 807374542b..28ab893c4b 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -110,7 +110,7 @@ static void ApplyUpdates(void *param)
// otherwise it would be replaced by unzip
if (_wcsicmp(it->tszOldName, it->tszNewName)) {
wchar_t tszSrcPath[MAX_PATH], tszBackFile[MAX_PATH];
- mir_snwprintf(tszSrcPath, L"%s\\%s", tszMirandaPath, it->tszOldName);
+ mir_snwprintf(tszSrcPath, L"%s\\%s", tszMirandaPath.get(), it->tszOldName);
mir_snwprintf(tszBackFile, L"%s\\%s", tszFileBack, it->tszOldName);
BackupFile(tszSrcPath, tszBackFile);
}