diff options
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/DlgUpdate.cpp | 1 |
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);
|