diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 23:12:37 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 23:12:37 +0000 |
commit | 6a32de54e79c7f572f552922aed3273206298f92 (patch) | |
tree | c3b41e5c460aaa20328f5c176667f82086323e6b /plugins/SeenPlugin | |
parent | 47c19f7007a24ccf7e4be993255e36baff65b4ca (diff) |
SendDlgItemMessage(..., ..., BM_GETCHECK,0,0) -> IsDlgButtonChecked(..., ...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11385 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SeenPlugin')
-rw-r--r-- | plugins/SeenPlugin/src/history.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SeenPlugin/src/history.cpp b/plugins/SeenPlugin/src/history.cpp index 1e3985bdfc..abe71fc6bd 100644 --- a/plugins/SeenPlugin/src/history.cpp +++ b/plugins/SeenPlugin/src/history.cpp @@ -208,7 +208,7 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hwndDlg, UINT Message, WPARAM wparam, LPARA SendMessage(hwndDlg, WM_CLOSE, 0, 0);
break;
case IDOK:
- if (SendDlgItemMessage(hwndDlg, IDC_STATUSCHANGE, BM_GETCHECK, 0, 0) == BST_CHECKED)
+ if (IsDlgButtonChecked(hwndDlg, IDC_STATUSCHANGE) == BST_CHECKED)
db_set_b(hContact,S_MOD,"OnlineAlert",1);
else
db_set_b(hContact,S_MOD,"OnlineAlert",0);
|