summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r--plugins/Clist_nicer/src/clistmenus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/clistmenus.cpp b/plugins/Clist_nicer/src/clistmenus.cpp
index 4b983cf631..8cd75b19b2 100644
--- a/plugins/Clist_nicer/src/clistmenus.cpp
+++ b/plugins/Clist_nicer/src/clistmenus.cpp
@@ -234,13 +234,13 @@ static INT_PTR CALLBACK IgnoreDialogProc(HWND hWnd, UINT msg, WPARAM wParam, LPA
dwFlags &= ~(ECF_FORCEOVERLAY | ECF_HIDEOVERLAY | ECF_FORCELOCALTIME | ECF_HIDELOCALTIME);
- checked = SendDlgItemMessage(hWnd, IDC_OVERLAYICON, BM_GETCHECK, 0, 0);
+ checked = IsDlgButtonChecked(hWnd, IDC_OVERLAYICON);
if (checked == BST_CHECKED)
dwFlags |= ECF_FORCEOVERLAY;
else if (checked == BST_UNCHECKED)
dwFlags |= ECF_HIDEOVERLAY;
- checked = SendDlgItemMessage(hWnd, IDC_SHOWLOCALTIME1, BM_GETCHECK, 0, 0);
+ checked = IsDlgButtonChecked(hWnd, IDC_SHOWLOCALTIME1);
if (checked == BST_CHECKED)
dwFlags |= ECF_FORCELOCALTIME;
else if (checked == BST_UNCHECKED)