summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src/mydetails.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MyDetails/src/mydetails.cpp')
-rw-r--r--plugins/MyDetails/src/mydetails.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp
index 188e41e748..52b8fb2666 100644
--- a/plugins/MyDetails/src/mydetails.cpp
+++ b/plugins/MyDetails/src/mydetails.cpp
@@ -150,11 +150,10 @@ static int MainInit(WPARAM wparam,LPARAM lparam)
InitProtocolData();
// Add options to menu
- CLISTMENUITEM mi;
+ // !!!!!!!! check it later
+ CLISTMENUITEM mi = { sizeof(mi) };
if (protocols->CanSetAvatars()) {
- ZeroMemory(&mi,sizeof(mi));
- mi.cbSize = sizeof(mi);
mi.flags = CMIF_TCHAR;
mi.popupPosition = 500050000;
mi.ptszPopupName = LPGENT("My Details");