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/HTTPServer/src/GuiElements.cpp | 1 - plugins/HTTPServer/src/main.cpp | 1 - 2 files changed, 2 deletions(-) (limited to 'plugins/HTTPServer/src') diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index 0dffe76acd..5e1134b2c9 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -1480,7 +1480,6 @@ void InitGuiElements() mi.position = -2000019955; mi.name.w = LPGENW("HTTP Share new file"); mi.pszService = MS_SHARE_NEW_FILE; - mi.Module = MODULE; hShareNewFileMenuItem = Menu_AddContactMenuItem(&mi); if (db_get_b(NULL, MODULE, "AddStatisticsMenuItem", 1) != 0) { diff --git a/plugins/HTTPServer/src/main.cpp b/plugins/HTTPServer/src/main.cpp index 4c8ba27c82..fb821023f6 100644 --- a/plugins/HTTPServer/src/main.cpp +++ b/plugins/HTTPServer/src/main.cpp @@ -926,7 +926,6 @@ extern "C" __declspec(dllexport) int Load() mi.position = 1000085000; mi.name.a = LPGEN("Enable HTTP server"); mi.pszService = MS_HTTP_ACCEPT_CONNECTIONS; - mi.Module = MODULE; hAcceptConnectionsMenuItem = Menu_AddMainMenuItem(&mi); } -- cgit v1.2.3