diff options
Diffstat (limited to 'plugins/UserInfoEx/src/psp_general.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/psp_general.cpp | 4 |
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;
|