diff options
-rw-r--r-- | plugins/PluginUpdater/src/Scanner.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Scanner.cpp b/plugins/PluginUpdater/src/Scanner.cpp index 0c267602c8..abac7a4c0a 100644 --- a/plugins/PluginUpdater/src/Scanner.cpp +++ b/plugins/PluginUpdater/src/Scanner.cpp @@ -142,6 +142,14 @@ static void CheckUpdates(void *) DBWriteContactSettingTString(NULL, MODNAME, "UpdateURL", _T(DEFAULT_UPDATE_URL));
DBGetContactSettingTString(NULL, MODNAME, "UpdateURL", &dbVar);
}
+ else {
+ #ifdef WIN64
+ if (_tcsstr(dbVar.ptszVal, _T"x32")) {
+ DBWriteContactSettingTString(NULL, MODNAME, "UpdateURL", _T(DEFAULT_UPDATE_URL));
+ DBGetContactSettingTString(NULL, MODNAME, "UpdateURL", &dbVar);
+ }
+ #endif
+ }
TCHAR* tszBaseUrl = NEWTSTR_ALLOCA(dbVar.ptszVal);
DBFreeVariant(&dbVar);
|