summaryrefslogtreecommitdiff
path: root/plugins/PackUpdater/Src/Utils.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 16:50:27 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 16:50:27 +0000
commit46930aabbf87e2e05224f5419da267f2a689511b (patch)
tree9802662ffdf29eb8aff6fa8ef2d2376c336a749f /plugins/PackUpdater/Src/Utils.cpp
parent9e7a30c3de81bcb4b20fa8717c32775ccc49dea7 (diff)
PackUpdater: coverity fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15493 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PackUpdater/Src/Utils.cpp')
-rw-r--r--plugins/PackUpdater/Src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PackUpdater/Src/Utils.cpp b/plugins/PackUpdater/Src/Utils.cpp
index 5b9351986c..3593331868 100644
--- a/plugins/PackUpdater/Src/Utils.cpp
+++ b/plugins/PackUpdater/Src/Utils.cpp
@@ -309,7 +309,7 @@ static void CheckUpdates(void *)
break;
case 4:
case 5: {
- VARST tszUtilRoot = Utils_ReplaceVarsT(_T("%miranda_path%"));
+ TCHAR *tszUtilRoot = VARST(_T("%miranda_path%"));
if (mir_tstrcmp(Files[CurrentFile].tszAdvFolder, _T("")) == 0)
mir_sntprintf(tszFilePathDest, _T("%s\\%s"), tszUtilRoot, Files[CurrentFile].File.tszDiskPath);
else