diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-02 18:00:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-02 18:00:02 +0300 |
commit | 8bd43ae4f790fcefecbcf1950ef4f36d1c4a6d20 (patch) | |
tree | 74fbfb11012ca3044806c48877c7677979baf884 /plugins/UserInfoEx/src/dlg_propsheet.cpp | |
parent | 2daa10fc6e063ab3e4824dc22820bbe7d3ce733f (diff) |
UInfoEx: advanced options dialog -> UI classes
Diffstat (limited to 'plugins/UserInfoEx/src/dlg_propsheet.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/dlg_propsheet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/dlg_propsheet.cpp b/plugins/UserInfoEx/src/dlg_propsheet.cpp index 445833be29..c93136e8fb 100644 --- a/plugins/UserInfoEx/src/dlg_propsheet.cpp +++ b/plugins/UserInfoEx/src/dlg_propsheet.cpp @@ -854,7 +854,7 @@ static INT_PTR CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar { IDI_BTN_APPLY, BM_SETIMAGE, IDAPPLY }
};
- const int numIconsToSet = g_plugin.getByte(SET_ICONS_BUTTONS, 1) ? _countof(idIcon) : 1;
+ const int numIconsToSet = g_plugin.bButtonIcons ? _countof(idIcon) : 1;
IcoLib_SetCtrlIcons(hDlg, idIcon, numIconsToSet);
@@ -954,7 +954,7 @@ static INT_PTR CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar case ACKTYPE_GETINFO:
// is contact the owner of the dialog or any metasubcontact of the owner? skip handling otherwise!
if (ack->hContact != pPs->hContact) {
- if (!g_plugin.getByte(SET_META_SCAN, TRUE))
+ if (!g_plugin.bMetaScan)
break;
for (i = 0; i < pPs->nSubContacts; i++) {
@@ -1021,7 +1021,7 @@ static INT_PTR CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar if (hContact != pPs->hContact) {
if (pPs->hContact != db_mc_getMeta(hContact))
break;
- if (!g_plugin.getByte(SET_META_SCAN, TRUE))
+ if (!g_plugin.bMetaScan)
break;
}
|