summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/mirutils.pas
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-27 21:02:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-27 21:02:54 +0300
commit0ebb1294ecaf4d62ad6b3e911be6275248c05354 (patch)
tree5560ce9ecc74ab5357279cd15aa9704d4d9d8c30 /plugins/Utils.pas/mirutils.pas
parentc6b6e8a4b79e906f77b1f3be43e939316e1d912f (diff)
correct type for ServiceExists() - bool
Diffstat (limited to 'plugins/Utils.pas/mirutils.pas')
-rw-r--r--plugins/Utils.pas/mirutils.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Utils.pas/mirutils.pas b/plugins/Utils.pas/mirutils.pas
index bbedeb252b..10f2ea2578 100644
--- a/plugins/Utils.pas/mirutils.pas
+++ b/plugins/Utils.pas/mirutils.pas
@@ -139,7 +139,7 @@ end;
function isVarsInstalled:bool;
{$IFDEF AllowInline}inline;{$ENDIF}
begin
- result:=ServiceExists(MS_VARS_FORMATSTRING)<>0;
+ result:=ServiceExists(MS_VARS_FORMATSTRING);
end;
function ParseVarString(astr:PAnsiChar;aContact:TMCONTACT=0;extra:PAnsiChar=nil):PAnsiChar;
@@ -228,7 +228,7 @@ procedure ShowPopupW(text:PWideChar;title:PWideChar=nil);
var
ppdu:TPOPUPDATAW;
begin
- if ServiceExists(MS_POPUP_ADDPOPUPW)=0 then
+ if not ServiceExists(MS_POPUP_ADDPOPUPW) then
exit;
FillChar(ppdu,SizeOf(TPOPUPDATAW),0);