summaryrefslogtreecommitdiff
path: root/plugins/mRadio/i_tray.inc
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-28 00:01:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-28 00:02:08 +0300
commit874bfd75183b781c0087087502133f5bea8ade1c (patch)
tree4f7c8c08ee71005b69574ae3820ddd7611894f52 /plugins/mRadio/i_tray.inc
parent7e852468c6d1a45cd4c78c4744b74e51d29e26b0 (diff)
Menu_ModifyItem to receive icolib handle, not HICON
Diffstat (limited to 'plugins/mRadio/i_tray.inc')
-rw-r--r--plugins/mRadio/i_tray.inc4
1 files changed, 2 insertions, 2 deletions
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')