diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-19 17:13:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-19 17:13:56 +0300 |
commit | 5d8f2aa16bcfa2431c71fc02ec5773b889b0feb0 (patch) | |
tree | 2ece8bf9758cf0bb19e91a536aa35b0d7938b08d /plugins | |
parent | ecefc7a8138913b71f3fe0107d5258833b7afeb2 (diff) |
one more fix for #2070
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/PluginUpdater/src/Options.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp index 637ec634e3..b050c79baf 100644 --- a/plugins/PluginUpdater/src/Options.cpp +++ b/plugins/PluginUpdater/src/Options.cpp @@ -333,8 +333,7 @@ static INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wPar GetDlgItemText(hwndDlg, IDC_CUSTOMURL, tszUrl, _countof(tszUrl));
g_plugin.setWString(DB_SETTING_UPDATE_URL, tszUrl);
g_plugin.setByte(DB_SETTING_UPDATE_MODE, UPDATE_MODE_CUSTOM);
- g_plugin.bForceRedownload = true;
- g_plugin.delSetting(DB_SETTING_REDOWNLOAD);
+ g_plugin.setByte(DB_SETTING_REDOWNLOAD, g_plugin.bForceRedownload = 1);
}
if (IsDlgButtonChecked(hwndDlg, IDC_CHANGE_PLATFORM)) {
|