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/mRadio/i_tray.inc | 2 -- plugins/mRadio/i_visual.inc | 1 - 2 files changed, 3 deletions(-) (limited to 'plugins/mRadio') diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc index 3967e32f0e..ff8b76a585 100644 --- a/plugins/mRadio/i_tray.inc +++ b/plugins/mRadio/i_tray.inc @@ -101,7 +101,6 @@ begin mi.position :=i; mi.pszService:=@buf; mi.szName.w :=tmp.name; - mi.Module :=cPluginName; tmp.menuitem:=Menu_AddTrayMenuItem(@mi); end; end; @@ -137,7 +136,6 @@ begin mi.flags :=CMIF_UNICODE; mi.szName.w:=cPluginName; mi.hIcon :=IcoLib_GetIcon(IcoBtnSettings,0); - mi.MOdule :=cPluginName; trayradioparent:=Menu_AddTrayMenuItem(@mi); FillChar(mi, sizeof(mi), 0); diff --git a/plugins/mRadio/i_visual.inc b/plugins/mRadio/i_visual.inc index 9d7cd58f06..2f95f0daa2 100644 --- a/plugins/mRadio/i_visual.inc +++ b/plugins/mRadio/i_visual.inc @@ -36,7 +36,6 @@ begin SET_UID(@mi, 'DA1F1DA5-0C78-4FD5-B705-5F2C22EBDAD4'); mi.pszService:=MS_RADIO_RECORD; mi.szName.a :='Start/Stop Record'; - mi.Module :=cPluginName; hCMenuItemRec:=Menu_AddContactMenuItem(@mi); SET_UID(@mi, '03C42002-709A-48CA-A9AF-450BEBDBE3E0'); -- cgit v1.2.3