summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgUpdate.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-04-15 16:41:50 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-04-15 16:41:50 +0000
commit7d578de07fdd3ea97e94268836035af5cbbbf094 (patch)
tree1c5b4133043c15d90fdf7408cf12d3d7c17afb45 /plugins/PluginUpdater/src/DlgUpdate.cpp
parent754a624c980798b77476f3f1e1de64a5ab2f97f1 (diff)
PluginUpdater: platform change fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16663 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index ca93241e54..ad291a44ae 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -635,6 +635,7 @@ static int ScanFolder(const TCHAR *tszFolder, size_t cbBaseLen, const TCHAR *tsz
if (!mir_tstrcmpi(ffd.cFileName, _T("miranda64.exe")))
_tcsncpy_s(tszNewName, _T("miranda32.exe"), _TRUNCATE);
}
+ _tcsncpy_s(tszNewName, ffd.cFileName, _TRUNCATE);
}
else
mir_sntprintf(tszNewName, _T("%s\\%s"), tszFolder + cbBaseLen, ffd.cFileName);