diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-27 12:32:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-27 12:32:05 +0300 |
commit | cc79c1d36c07b905f9d47e5002f90783de92e6cb (patch) | |
tree | 7bbad4f326de511109e641fb652133cf970dd4c6 /plugins/MyDetails | |
parent | 48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff) |
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/MyDetails')
-rw-r--r-- | plugins/MyDetails/src/frame.cpp | 1 | ||||
-rw-r--r-- | plugins/MyDetails/src/mydetails.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp index ba74454749..14b878a9b5 100644 --- a/plugins/MyDetails/src/frame.cpp +++ b/plugins/MyDetails/src/frame.cpp @@ -337,7 +337,6 @@ int CreateFrame() mi.hIcolibItem = Skin_LoadIcon(SKINICON_OTHER_USERDETAILS);
mi.name.w = LPGENW("Show my details");
mi.pszService = MODULE_NAME"/ShowHideMyDetails";
- mi.Module = MODULE_NAME;
hMenuShowHideFrame = Menu_AddMainMenuItem(&mi);
Menu_ConfigureItem(hMenuShowHideFrame, MCI_OPT_EXECPARAM, -0x7FFFFFFF);
diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp index 5a71480877..459ee0572d 100644 --- a/plugins/MyDetails/src/mydetails.cpp +++ b/plugins/MyDetails/src/mydetails.cpp @@ -93,7 +93,6 @@ static int MainInit(WPARAM, LPARAM) mi.flags = CMIF_UNICODE;
mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_USERDETAILS);
mi.name.w = LPGENW("My details");
- mi.Module = MODULE_NAME;
HGENMENU hMenuRoot = Menu_AddMainMenuItem(&mi);
mi.flags = CMIF_UNICODE;
|