diff options
author | George Hazan <ghazan@miranda.im> | 2022-04-20 14:18:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-04-20 14:18:00 +0300 |
commit | 7ff20362f58bb2cbdf64545b375090e02a4ae504 (patch) | |
tree | 712620452bca11807c88a33ca8655f86c3acab00 /plugins/PluginUpdater/src/Options.cpp | |
parent | dbc18aef69c444c6368f65b11bb031b322ac5ffd (diff) |
more fixes for #3066
Diffstat (limited to 'plugins/PluginUpdater/src/Options.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp index c5d0b52def..77ba888162 100644 --- a/plugins/PluginUpdater/src/Options.cpp +++ b/plugins/PluginUpdater/src/Options.cpp @@ -146,7 +146,7 @@ public: {
chkPlatform.SetState(g_plugin.bChangePlatform);
- if (g_plugin.getByte(DB_SETTING_NEED_RESTART, 0))
+ if (g_plugin.bNeedRestart)
ShowWindow(GetDlgItem(m_hwnd, IDC_NEEDRESTARTLABEL), SW_SHOW);
spinPeriod.SetPosition(g_plugin.iPeriod);
@@ -254,9 +254,9 @@ public: if (chkPlatform.GetState()) {
g_plugin.bForceRedownload = bStartUpdate = true;
- g_plugin.setByte(DB_SETTING_CHANGEPLATFORM, g_plugin.bChangePlatform = 1);
+ g_plugin.bChangePlatform = true;
}
- else g_plugin.setByte(DB_SETTING_CHANGEPLATFORM, g_plugin.bChangePlatform = 0);
+ else g_plugin.bChangePlatform = false;
// if user selected update channel without symbols, remove PDBs
if (bNoSymbols) {
|