From 874bfd75183b781c0087087502133f5bea8ade1c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Mar 2019 00:01:57 +0300 Subject: Menu_ModifyItem to receive icolib handle, not HICON --- plugins/mRadio/i_tray.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/mRadio/i_tray.inc') diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc index ff8b76a585..49408f1fb9 100644 --- a/plugins/mRadio/i_tray.inc +++ b/plugins/mRadio/i_tray.inc @@ -219,9 +219,9 @@ begin Menu_ModifyItem(trayprotoh, 'mRadio on'); if gVolume<0 then - Menu_ModifyItem(traymute, nil, IcoLib_GetIcon(IcoBtnOff,0)) + Menu_ModifyItem(traymute, nil, IcoLib_GetIconHandle(IcoBtnOff)) else - Menu_ModifyItem(traymute, nil, IcoLib_GetIcon(IcoBtnOn,0)); + Menu_ModifyItem(traymute, nil, IcoLib_GetIconHandle(IcoBtnOn)); if CallService(MS_RADIO_COMMAND,MRC_STATUS,RD_STATUS_GET)<>RD_STATUS_PLAYING then Menu_ModifyItem(trayplay, 'Play') -- cgit v1.2.3