diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-07-12 10:33:25 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-07-12 10:33:25 +0000 |
commit | c4c45a4215566846b565d44c5f327fe5c69206d5 (patch) | |
tree | b5314584317b4b65e516cc27887a9cfcc1ede60b /plugins/PluginUpdater/src/Utils.cpp | |
parent | 23cf36271ec9b7fedd439b251a6785cdd4c861ae (diff) |
Fix for previous revision
git-svn-id: http://svn.miranda-ng.org/main/trunk@5337 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Utils.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index 2da1d5080d..00c6715a7c 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -26,6 +26,7 @@ FILEINFO *pFileInfo = NULL; HANDLE hCheckThread = NULL, hListThread = NULL, hNetlibUser = NULL;
POPUP_OPTIONS PopupOptions = {0};
aPopups PopupsList[POPUPS];
+extern DWORD g_mirandaVersion;
/////////////////////////////////////////////////////////////////////////////////////
// we don't use Icon_Register here because it should work under Miranda IM too
@@ -276,7 +277,7 @@ BOOL DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal, int CRCsum, HANDLE &nlc) #endif
nlhr.requestType = REQUEST_GET;
nlhr.flags = NLHRF_DUMPASTEXT | NLHRF_HTTP11;
- if (mirandaVersion >= PLUGIN_MAKE_VERSION(0, 9, 0, 0))
+ if (g_mirandaVersion >= PLUGIN_MAKE_VERSION(0, 9, 0, 0))
nlhr.flags |= NLHRF_PERSISTENT;
nlhr.nlc = nlc;
char *szUrl = mir_t2a(tszURL);
|