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/status/i_opt_11.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Watrack/status/i_opt_11.inc') diff --git a/plugins/Watrack/status/i_opt_11.inc b/plugins/Watrack/status/i_opt_11.inc index 8039dae4c1..f996cae6c9 100644 --- a/plugins/Watrack/status/i_opt_11.inc +++ b/plugins/Watrack/status/i_opt_11.inc @@ -142,7 +142,7 @@ begin StrCopy(buf,GetProtoName(CurProto)); StrCat(buf,PS_GETCUSTOMSTATUSICON); - endis:=ServiceExists(buf)<>0; + endis:=ServiceExists(buf); EnableWindow(GetDlgItem(Dialog,IDC_CBEX ),endis); EnableWindow(GetDlgItem(Dialog,IDC_XSTAT_AUDIO),endis); -- cgit v1.2.3