diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-14 00:16:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-14 00:16:27 +0300 |
commit | ba688c1ade0ac44a02294dda3e486469820bb31a (patch) | |
tree | 98bb3ca065f4b5cbe8a0446a5e7c9b6d36ecf320 /plugins/StartupSilence/src | |
parent | dd2dd9a224ea7501a99e0ae4995d8f4b8ed3b5c7 (diff) |
Weather -> g_plugin
Diffstat (limited to 'plugins/StartupSilence/src')
-rw-r--r-- | plugins/StartupSilence/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp index 74da60d7f8..174962c21d 100644 --- a/plugins/StartupSilence/src/main.cpp +++ b/plugins/StartupSilence/src/main.cpp @@ -373,22 +373,22 @@ static INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LP case IDC_DEFPOPUP:
db_set_b(0, MODULENAME, DefPopupComp, (BYTE)(IsDlgButtonChecked(hwndDlg, IDC_DEFPOPUP) == BST_CHECKED ? 1 : 0));
- DefPopup = db_get_b(0, MODULENAME, DefPopupComp, 0);
+ DefPopup = g_plugin.getByte(DefPopupComp, 0);
break;
case IDC_DEFSOUNDS:
db_set_b(0, MODULENAME, DefSoundComp, (BYTE)(IsDlgButtonChecked(hwndDlg, IDC_DEFSOUNDS) == BST_CHECKED ? 1 : 0));
- DefSound = db_get_b(0, MODULENAME, DefSoundComp, 0);
+ DefSound = g_plugin.getByte(DefSoundComp, 0);
break;
case IDC_RESTORE:
db_set_b(0, MODULENAME, DefEnabledComp, (BYTE)(IsDlgButtonChecked(hwndDlg, IDC_RESTORE) == BST_CHECKED ? 1 : 0));
- DefEnabled = db_get_b(0, MODULENAME, DefEnabledComp, 0);
+ DefEnabled = g_plugin.getByte(DefEnabledComp, 0);
break;
case IDC_NONSTATUSES:
db_set_b(0, MODULENAME, NonStatusAllowComp, (BYTE)(IsDlgButtonChecked(hwndDlg, IDC_NONSTATUSES) == BST_CHECKED ? 1 : 0));
- NonStatusAllow = db_get_b(0, MODULENAME, NonStatusAllowComp, 0);
+ NonStatusAllow = g_plugin.getByte(NonStatusAllowComp, 0);
break;
case IDC_RESETDEFAULT:
|