summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/psp_options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
commitcf1c8283aca6d09ddfc42d18c8ecc38bbc0f65fb (patch)
treecf3ec04ee9f1000cdd5e8b3d88b14d684f12646a /plugins/UserInfoEx/src/psp_options.cpp
parent8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 (diff)
MS_CLIST_REMOVEMAINMENUITEM also removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@10480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/psp_options.cpp')
-rw-r--r--plugins/UserInfoEx/src/psp_options.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/plugins/UserInfoEx/src/psp_options.cpp b/plugins/UserInfoEx/src/psp_options.cpp
index dc9d584a11..5db6f1418c 100644
--- a/plugins/UserInfoEx/src/psp_options.cpp
+++ b/plugins/UserInfoEx/src/psp_options.cpp
@@ -359,19 +359,17 @@ static INT_PTR CALLBACK DlgProc_CommonOpts(HWND hDlg, UINT uMsg, WPARAM wParam,
case CHECK_OPT_MI_GROUP:
case CHECK_OPT_MI_SUBGROUP:
case CHECK_OPT_MI_ACCOUNT:
- {
- for (int i = 0; i < SIZEOF(ctrl_Menu); i++) {
- if (ctrl_Menu[i].idCheckbox == LOWORD(wParam)) {
- const int idMenuItems[] = { ctrl_Menu[i].idCheckbox + 1, ctrl_Menu[i].idNONE, ctrl_Menu[i].idALL, ctrl_Menu[i].idEXIMPORT };
- EnableControls(hDlg, idMenuItems, SIZEOF(idMenuItems),
- Button_GetCheck((HWND)lParam) && ServiceExists(MS_CLIST_REMOVEMAINMENUITEM));
- break;
- }
+ for (int i = 0; i < SIZEOF(ctrl_Menu); i++) {
+ if (ctrl_Menu[i].idCheckbox == LOWORD(wParam)) {
+ const int idMenuItems[] = { ctrl_Menu[i].idCheckbox + 1, ctrl_Menu[i].idNONE, ctrl_Menu[i].idALL, ctrl_Menu[i].idEXIMPORT };
+ EnableControls(hDlg, idMenuItems, SIZEOF(idMenuItems), Button_GetCheck((HWND)lParam));
+ break;
}
- if (bInitialized)
- NotifyParentOfChange(hDlg);
}
+ if (bInitialized)
+ NotifyParentOfChange(hDlg);
break;
+
case RADIO_OPT_MI_MAIN_ALL:
case RADIO_OPT_MI_MAIN_NONE:
case RADIO_OPT_MI_MAIN_EXIMPORT: