From cc79c1d36c07b905f9d47e5002f90783de92e6cb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 27 Nov 2017 12:32:05 +0300 Subject: slightly optimized way of getting menu item's module name --- plugins/PasteIt/src/PasteIt.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/PasteIt/src/PasteIt.cpp') diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index fece91b1b8..96de6b8a51 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -289,7 +289,6 @@ void InitMenuItems() mi.hIcolibItem = icon.hIcolib; mi.position = 3000090005; mi.name.w = LPGENW("Paste It"); - mi.Module = MODULE; hContactMenu = Menu_AddContactMenuItem(&mi); memset(&mi, 0, sizeof(mi)); @@ -312,7 +311,6 @@ void InitMenuItems() CMenuItem mi2; mi2.pszService = MS_PASTEIT_CONTACTMENU; mi2.root = hDefWebMenu; - mi2.Module = MODULE; for (int i = 0; i < PasteToWeb::pages; ++i) { mi2.flags = CMIF_UNICODE | CMIF_UNMOVABLE; -- cgit v1.2.3