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/SimpleStatusMsg/src | |
parent | 48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff) |
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/SimpleStatusMsg/src')
-rw-r--r-- | plugins/SimpleStatusMsg/src/awaymsg.cpp | 1 | ||||
-rw-r--r-- | plugins/SimpleStatusMsg/src/main.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/plugins/SimpleStatusMsg/src/awaymsg.cpp b/plugins/SimpleStatusMsg/src/awaymsg.cpp index 31f5c1d4d5..37ae062f63 100644 --- a/plugins/SimpleStatusMsg/src/awaymsg.cpp +++ b/plugins/SimpleStatusMsg/src/awaymsg.cpp @@ -384,7 +384,6 @@ int LoadAwayMsgModule(void) CMenuItem mi;
mi.flags = CMIF_UNICODE;
- mi.Module = "SimpleStatusMsg";
SET_UID(mi, 0xd3282acc, 0x9ff1, 0x4ede, 0x8a, 0x1e, 0x36, 0x72, 0x3f, 0x44, 0x4f, 0x84);
CreateServiceFunction(MS_AWAYMSG_SHOWAWAYMSG, GetMessageCommand);
diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp index 293071bf04..f1fc07fed6 100644 --- a/plugins/SimpleStatusMsg/src/main.cpp +++ b/plugins/SimpleStatusMsg/src/main.cpp @@ -1383,7 +1383,6 @@ static int ChangeStatusMsgPrebuild(WPARAM, LPARAM) CMenuItem mi;
mi.flags = CMIF_UNICODE;
- mi.Module = "SimpleStatusMsg";
if (!db_get_b(NULL, "SimpleStatusMsg", "ShowStatusMenuItem", 1))
mi.flags |= CMIF_HIDDEN;
mi.hIcolibItem = GetIconHandle(IDI_CSMSG);
|