diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-11-14 17:49:23 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-11-14 17:49:23 +0000 |
commit | ed492642c03d8d92506f314fd7c35163fd13ce21 (patch) | |
tree | a0a4392b4f07a5521304aee3fbed192277f4583b | |
parent | c28216e80ed90278449f4d1f23d710f4aaad6811 (diff) |
Minor fixes
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@568 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | updater/updater.cpp | 4 | ||||
-rw-r--r-- | updater/zbin/minizip/ioapi_mem.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp index 855659d..417dfdb 100644 --- a/updater/updater.cpp +++ b/updater/updater.cpp @@ -151,7 +151,11 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) { update.cpbVersionPrefix = strlen((char *)update.pbVersionPrefix);
#endif //REGISTER_AUTO
+#ifdef _WIN64
+ update.szBetaUpdateURL = BETA_HOST_URL_PREFIX "/updater_x64.zip";
+#else
update.szBetaUpdateURL = BETA_HOST_URL_PREFIX "/updater_unicode.zip";
+#endif
update.szBetaVersionURL = BETA_HOST_URL_PREFIX "/ver_updater_unicode.html";
update.pbBetaVersionPrefix = (BYTE *)"Updater (Unicode) version ";
update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix);
diff --git a/updater/zbin/minizip/ioapi_mem.c b/updater/zbin/minizip/ioapi_mem.c index 6c0bf3c..3948c15 100644 --- a/updater/zbin/minizip/ioapi_mem.c +++ b/updater/zbin/minizip/ioapi_mem.c @@ -20,8 +20,6 @@ #include <stdio.h> -#include <stdlib.h> -#include <string.h> #include "zlib.h" #include "ioapi.h" |