From 46930aabbf87e2e05224f5419da267f2a689511b Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 2 Oct 2015 16:50:27 +0000 Subject: PackUpdater: coverity fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@15493 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PackUpdater/Src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/PackUpdater/Src/Utils.cpp') 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 -- cgit v1.2.3