From feac2b1a6a79c9d0bb58b0825ec2a776b888f9ce Mon Sep 17 00:00:00 2001 From: George Hazan <ghazan@miranda.im> Date: Tue, 22 May 2018 18:00:57 +0300 Subject: m_genmenu.h unbound from hLangpack --- plugins/Restart/src/restart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Restart/src') diff --git a/plugins/Restart/src/restart.cpp b/plugins/Restart/src/restart.cpp index 46566ed1c5..5217fbe478 100644 --- a/plugins/Restart/src/restart.cpp +++ b/plugins/Restart/src/restart.cpp @@ -53,7 +53,7 @@ extern "C" __declspec(dllexport) int Load(void) hRestartMe = CreateServiceFunction("System/RestartMe", RestartMe); - CMenuItem mi; + CMenuItem mi(g_plugin); SET_UID(mi, 0x9181059, 0x5316, 0x4be3, 0x96, 0xb7, 0x80, 0x51, 0xa9, 0x3a, 0xd8, 0x49); mi.position = -0x7FFFFFFF; mi.hIcolibItem = iconList[0].hIcolib; -- cgit v1.2.3