summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-27 12:32:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-27 12:32:05 +0300
commitcc79c1d36c07b905f9d47e5002f90783de92e6cb (patch)
tree7bbad4f326de511109e641fb652133cf970dd4c6 /plugins/SmileyAdd
parent48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff)
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/SmileyAdd')
-rw-r--r--plugins/SmileyAdd/src/main.cpp1
-rw-r--r--plugins/SmileyAdd/src/services.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp
index 93379d5623..81c3c9bb19 100644
--- a/plugins/SmileyAdd/src/main.cpp
+++ b/plugins/SmileyAdd/src/main.cpp
@@ -57,7 +57,6 @@ static int ModulesLoaded(WPARAM, LPARAM)
mi.position = 2000070050;
mi.hIcolibItem = icon.hIcolib;
mi.name.a = LPGEN("Assign smiley category");
- mi.Module = MODULENAME;
hContactMenuItem = Menu_AddContactMenuItem(&mi);
DownloadInit();
diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp
index a53351122f..c4583145d3 100644
--- a/plugins/SmileyAdd/src/services.cpp
+++ b/plugins/SmileyAdd/src/services.cpp
@@ -291,7 +291,6 @@ int RebuildContactMenu(WPARAM wParam, LPARAM)
mi.root = hContactMenuItem;
mi.flags = CMIF_UNICODE | CMIF_SYSTEM;
mi.pszService = MS_SMILEYADD_CUSTOMCATMENU;
- mi.Module = MODULENAME;
bool nonecheck = true;
HGENMENU hMenu;