From 53ef1daeb4d1c551f38096a63112793aa57124e3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 14 Jun 2019 15:52:50 +0300 Subject: warning fix --- plugins/PluginUpdater/src/DlgUpdate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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); } -- cgit v1.2.3