summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Utils.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-08-02 20:51:49 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-08-02 20:51:49 +0000
commit03d2586c6dc4c4163f9df52cc8efe0a16768a28c (patch)
tree4134d241dd14221fa0ba3848c5efe769750cc9d1 /plugins/PluginUpdater/src/Utils.cpp
parent419e301b09de1935ab61f9a28363bb375fc7e208 (diff)
IM_Updater:
-Compilation fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14825 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Utils.cpp')
-rw-r--r--plugins/PluginUpdater/src/Utils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp
index 4149ba1620..b8bf392a5f 100644
--- a/plugins/PluginUpdater/src/Utils.cpp
+++ b/plugins/PluginUpdater/src/Utils.cpp
@@ -137,7 +137,6 @@ bool ParseHashes(const TCHAR *ptszUrl, ptrT &baseUrl, SERVLIST &arHashes)
vars[0].value.t = _T("32");
#endif
vars[1].key.t = vars[1].value.t = 0;
- baseUrl = Utils_ReplaceVarsT(ptszUrl, 0, vars);
#else
vars[0].lptzKey = _T("platform");
#ifdef _WIN64
@@ -146,8 +145,8 @@ bool ParseHashes(const TCHAR *ptszUrl, ptrT &baseUrl, SERVLIST &arHashes)
vars[0].lptzValue = _T("32");
#endif
vars[1].lptzKey = vars[1].lptzValue = 0;
- baseUrl = (TCHAR*)CallService(MS_UTILS_REPLACEVARS, (WPARAM)ptszUrl, (LPARAM)&vars);
#endif
+ baseUrl = Utils_ReplaceVarsT(ptszUrl, 0, vars);
// Download version info
FILEURL pFileUrl;