summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/UserInfoEx/src/psp_anniversary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/psp_anniversary.cpp b/plugins/UserInfoEx/src/psp_anniversary.cpp
index 09ba89fac4..99cc66ec19 100644
--- a/plugins/UserInfoEx/src/psp_anniversary.cpp
+++ b/plugins/UserInfoEx/src/psp_anniversary.cpp
@@ -130,7 +130,7 @@ struct PSPAnniversaryDlg : public PSPBaseDlg
switch(uMsg) {
case WM_NOTIFY:
- switch (((LPNMHDR)lParam)->code) {
+ switch (((LPNMHDR)lParam)->idFrom) {
case EDIT_ANNIVERSARY_DATE:
if (!PspIsLocked(m_hwnd) && PtrIsValid(pDateCtrl)) {
LPNMHDR lpNmhdr = (LPNMHDR)lParam;