diff options
Diffstat (limited to 'plugins/Utils.pas/mirutils.pas')
-rw-r--r-- | plugins/Utils.pas/mirutils.pas | 4 |
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);
|