From 0ebb1294ecaf4d62ad6b3e911be6275248c05354 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 Nov 2016 21:02:54 +0300 Subject: correct type for ServiceExists() - bool --- plugins/Watrack/players/pl_mradio.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Watrack/players') diff --git a/plugins/Watrack/players/pl_mradio.pas b/plugins/Watrack/players/pl_mradio.pas index 2d27287796..e41a2bdeb2 100644 --- a/plugins/Watrack/players/pl_mradio.pas +++ b/plugins/Watrack/players/pl_mradio.pas @@ -186,7 +186,7 @@ var ptr:PavatarCacheEntry; begin result:=nil; - if ServiceExists(MS_AV_GETAVATARBITMAP)<>0 then + if ServiceExists(MS_AV_GETAVATARBITMAP) then begin ptr:=PavatarCacheEntry(CallService(MS_AV_GETAVATARBITMAP,CurrentStation,0)); if ptr<>nil then -- cgit v1.2.3