summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src')
-rw-r--r--plugins/UserInfoEx/src/classPsTree.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/classPsTree.cpp b/plugins/UserInfoEx/src/classPsTree.cpp
index 9dc874d8eb..64f5bf5b03 100644
--- a/plugins/UserInfoEx/src/classPsTree.cpp
+++ b/plugins/UserInfoEx/src/classPsTree.cpp
@@ -908,8 +908,7 @@ int CPsTree::OnApply()
if (pti == nullptr)
return 1;
- PSHNOTIFY pshn;
- pshn.hdr.idFrom = 0;
+ PSHNOTIFY pshn = {};
pshn.hdr.code = PSN_KILLACTIVE;
pshn.hdr.hwndFrom = pti->Wnd();
if (SendMessage(pshn.hdr.hwndFrom, WM_NOTIFY, 0, (LPARAM)&pshn))