From f719c8b921c7a46b76453476204224d40c682914 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Jul 2018 21:32:58 +0300 Subject: int hLangpack/m_hLang removed and replaced with HPLUGIN --- plugins/mRadio/i_optdlg.inc | 1 - plugins/mRadio/rframeapi.pas | 2 +- plugins/mRadio/version.RES | Bin 0 -> 312 bytes 3 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 plugins/mRadio/version.RES (limited to 'plugins/mRadio') diff --git a/plugins/mRadio/i_optdlg.inc b/plugins/mRadio/i_optdlg.inc index a48d987989..5146b57adc 100644 --- a/plugins/mRadio/i_optdlg.inc +++ b/plugins/mRadio/i_optdlg.inc @@ -622,7 +622,6 @@ begin FillChar(odp,SizeOf(odp),0); odp.flags :=ODPF_BOLDGROUPS; odp.Position :=900003000; - odp.hInstance :=hInstance; odp.szGroup.a :='Network'; odp.szTitle.a :=PluginName; diff --git a/plugins/mRadio/rframeapi.pas b/plugins/mRadio/rframeapi.pas index c0cc1702bc..94d5438ea5 100644 --- a/plugins/mRadio/rframeapi.pas +++ b/plugins/mRadio/rframeapi.pas @@ -227,7 +227,7 @@ begin TBName.w:=TranslateW(cPluginName + ' volume control'); end; - FrameId:=CallService(MS_CLIST_FRAMES_ADDFRAME,wparam(@Frame),0); + FrameId:=CallService(MS_CLIST_FRAMES_ADDFRAME,wparam(@Frame),lparam(@g_Plugin)); if FrameId>=0 then begin CallService(MS_CLIST_FRAMES_UPDATEFRAME,FrameId, FU_FMPOS); diff --git a/plugins/mRadio/version.RES b/plugins/mRadio/version.RES new file mode 100644 index 0000000000..b130578b35 Binary files /dev/null and b/plugins/mRadio/version.RES differ -- cgit v1.2.3