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/SecureIM/src/main.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/SecureIM/src') diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp index 2b026a2bd5..a56200fff4 100644 --- a/plugins/SecureIM/src/main.cpp +++ b/plugins/SecureIM/src/main.cpp @@ -45,7 +45,6 @@ static HGENMENU MyAddMenuItem(LPCWSTR name, int pos, LPCSTR szUid, HICON hicon, mi.hIcolibItem = hicon; mi.name.w = (wchar_t*)name; mi.pszService = (char*)service; - mi.Module = MODULENAME; HGENMENU res = Menu_AddContactMenuItem(&mi); Menu_ConfigureItem(res, MCI_OPT_UID, szUid); return res; @@ -59,7 +58,6 @@ static HGENMENU MyAddSubItem(HGENMENU hRoot, LPCSTR name, int pos, int poppos, L mi.name.a = (char*)name; mi.root = hRoot; mi.pszService = (char*)service; - mi.Module = MODULENAME; HGENMENU res = Menu_AddContactMenuItem(&mi); Menu_ConfigureItem(res, MCI_OPT_EXECPARAM, poppos); return res; -- cgit v1.2.3