summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/classPsTree.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-24 15:02:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-24 15:02:42 +0000
commit727a0432f5909ba54e6d15010fde94dff825fe5e (patch)
tree2bca1de02335533dc2678c143e7b8ff088c25d47 /plugins/UserInfoEx/src/classPsTree.cpp
parent0ccdb951979ead80e9264233776b9147ff701fc7 (diff)
fixes for MENUITEMINFO declarations
git-svn-id: http://svn.miranda-ng.org/main/trunk@14363 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/classPsTree.cpp')
-rw-r--r--plugins/UserInfoEx/src/classPsTree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/classPsTree.cpp b/plugins/UserInfoEx/src/classPsTree.cpp
index 15b6bf5f8a..033ce4c271 100644
--- a/plugins/UserInfoEx/src/classPsTree.cpp
+++ b/plugins/UserInfoEx/src/classPsTree.cpp
@@ -717,7 +717,6 @@ int CPsTree::EndLabelEdit(const BYTE bSave)
void CPsTree::PopupMenu()
{
HMENU hPopup;
- MENUITEMINFO mii;
TVHITTESTINFO hti;
TVITEM tvi;
POINT pt;
@@ -726,7 +725,8 @@ void CPsTree::PopupMenu()
// init popup menu
if (!(hPopup = CreatePopupMenu()))
return;
- memset(&mii, 0, sizeof(MENUITEMINFO));
+
+ MENUITEMINFO mii = { 0 };
mii.cbSize = sizeof(mii);
mii.fMask = MIIM_STRING|MIIM_ID;