diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-11-23 02:57:45 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-11-23 02:57:45 +0100 |
commit | b2c45b196c9a09fd2c1c7e86fe7f4391e93e0c1a (patch) | |
tree | 1a9d9fe29de909c9b9794f1b80ce4dd59dbcaf9e /plugins | |
parent | 686685baa93a1539346f7d8373ed34b2f965189d (diff) |
fix update checker for separate installers
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/upd/upd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c index 92b7d06e..00319910 100644 --- a/plugins/upd/upd.c +++ b/plugins/upd/upd.c @@ -80,7 +80,11 @@ print_version () } else { - xchat_printf (ph, "An XChat-WDK update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/XChat-WDK%%20%s.exe\n", version); +#ifdef _WIN64 /* use this approach, the wProcessorArchitecture method always returns 0 (=x86) for some reason */ + xchat_printf (ph, "An XChat-WDK update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/XChat-WDK%%20%s%%20x64.exe\n", version); +#else + xchat_printf (ph, "An XChat-WDK update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/XChat-WDK%%20%s%%20x86.exe\n", version); +#endif } } |