diff options
author | George Hazan <george.hazan@gmail.com> | 2016-04-26 08:09:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-04-26 08:09:32 +0000 |
commit | 14b3e00732b7f8b23c3e194815a9a0d3a6f2723f (patch) | |
tree | 9499fbd9f587dae601c2c94dc6ded57ea839b45a /src/core/stdmsg | |
parent | 3bf8dd214686baa698ec98c16d49f320d6f4eee8 (diff) |
absolutely useless service MS_CLUI_GETCAPS removed as pre-kernel clist atavism
git-svn-id: http://svn.miranda-ng.org/main/trunk@16766 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r-- | src/core/stdmsg/src/msgoptions.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp index f3367d4234..5797b2a9c7 100644 --- a/src/core/stdmsg/src/msgoptions.cpp +++ b/src/core/stdmsg/src/msgoptions.cpp @@ -420,11 +420,7 @@ static INT_PTR CALLBACK DlgProcLogOptions(HWND hwndDlg, UINT msg, WPARAM wParam, static void ResetCList(HWND hwndDlg)
{
- if (CallService(MS_CLUI_GETCAPS, 0, 0) & CLUIF_DISABLEGROUPS && !db_get_b(NULL, "CList", "UseGroups", SETTING_USEGROUPS_DEFAULT))
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETUSEGROUPS, (WPARAM)FALSE, 0);
- else
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETUSEGROUPS, (WPARAM)TRUE, 0);
-
+ SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETUSEGROUPS, db_get_b(NULL, "CList", "UseGroups", SETTING_USEGROUPS_DEFAULT), 0);
SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETHIDEEMPTYGROUPS, 1, 0);
}
|