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/PackUpdater/Src/PackUpdater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/PackUpdater/Src') diff --git a/plugins/PackUpdater/Src/PackUpdater.cpp b/plugins/PackUpdater/Src/PackUpdater.cpp index 4dc8088b16..2d889f6911 100644 --- a/plugins/PackUpdater/Src/PackUpdater.cpp +++ b/plugins/PackUpdater/Src/PackUpdater.cpp @@ -77,8 +77,8 @@ extern "C" __declspec(dllexport) int Load(void) mi.hIcolibItem = IcoLib_GetIcon("check_update"); mi.name.w = LPGENW("Check for pack updates"); mi.pszService = MODNAME"/CheckUpdates"; - mi.Module = MODNAME; Menu_AddMainMenuItem(&mi); + // Add empty updates folder menu item CreateServiceFunction(MODNAME"/EmptyFolder", EmptyFolder); memset(&mi, 0, sizeof(mi)); -- cgit v1.2.3