summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/psp_general.cpp
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 23:12:37 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 23:12:37 +0000
commit6a32de54e79c7f572f552922aed3273206298f92 (patch)
treec3b41e5c460aaa20328f5c176667f82086323e6b /plugins/UserInfoEx/src/psp_general.cpp
parent47c19f7007a24ccf7e4be993255e36baff65b4ca (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/UserInfoEx/src/psp_general.cpp')
-rw-r--r--plugins/UserInfoEx/src/psp_general.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/psp_general.cpp b/plugins/UserInfoEx/src/psp_general.cpp
index e01e8cecee..cd8dc48184 100644
--- a/plugins/UserInfoEx/src/psp_general.cpp
+++ b/plugins/UserInfoEx/src/psp_general.cpp
@@ -110,9 +110,9 @@ INT_PTR CALLBACK PSPProcGeneral(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
// gender
{
BYTE gender
- = SendDlgItemMessage(hDlg, RADIO_FEMALE, BM_GETCHECK, NULL, NULL)
+ = IsDlgButtonChecked(hDlg, RADIO_FEMALE)
? 'F'
- : SendDlgItemMessage(hDlg, RADIO_MALE, BM_GETCHECK, NULL, NULL)
+ : IsDlgButtonChecked(hDlg, RADIO_MALE)
? 'M'
: 0;