diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-22 23:07:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-22 23:07:42 +0000 |
commit | fd602fafce02247a045dc94a104bcf949113c80f (patch) | |
tree | 21d5b0c65fa3826cc557794926e424714592ff53 /plugins/MyDetails | |
parent | 279379bd2da15aed40c0bf61f34f48de37a99c8e (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14337 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MyDetails')
-rw-r--r-- | plugins/MyDetails/src/mydetails.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp index 76ed521dcd..f9d321e780 100644 --- a/plugins/MyDetails/src/mydetails.cpp +++ b/plugins/MyDetails/src/mydetails.cpp @@ -91,10 +91,10 @@ static int MainInit(WPARAM, LPARAM) mi.flags = CMIF_ROOTPOPUP | CMIF_TCHAR;
mi.icolibItem = Skin_GetIconHandle(SKINICON_OTHER_USERDETAILS);
mi.ptszName = LPGENT("My details");
- HANDLE hMenuRoot = Menu_AddMainMenuItem(&mi);
+ HGENMENU hMenuRoot = Menu_AddMainMenuItem(&mi);
mi.flags = CMIF_CHILDPOPUP | CMIF_TCHAR;
- mi.ptszPopupName = (TCHAR *)hMenuRoot;
+ mi.hParentMenu = hMenuRoot;
mi.popupPosition = 0;
mi.icolibItem = NULL;
|