diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-27 21:02:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-27 21:02:54 +0300 |
commit | 0ebb1294ecaf4d62ad6b3e911be6275248c05354 (patch) | |
tree | 5560ce9ecc74ab5357279cd15aa9704d4d9d8c30 /plugins/QuickSearch/sr_global.pas | |
parent | c6b6e8a4b79e906f77b1f3be43e939316e1d912f (diff) |
correct type for ServiceExists() - bool
Diffstat (limited to 'plugins/QuickSearch/sr_global.pas')
-rw-r--r-- | plugins/QuickSearch/sr_global.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas index 1412e8142a..8299edc8fc 100644 --- a/plugins/QuickSearch/sr_global.pas +++ b/plugins/QuickSearch/sr_global.pas @@ -201,7 +201,7 @@ procedure removetoolbar; begin
if hTTBButton<>0 then
begin
- if ServiceExists(MS_TTB_REMOVEBUTTON)>0 then
+ if ServiceExists(MS_TTB_REMOVEBUTTON) then
begin
CallService(MS_TTB_REMOVEBUTTON,WPARAM(hTTBButton),0);
hTTBButton:=0;
@@ -215,7 +215,7 @@ var begin
removetoolbar;
- if ServiceExists(MS_TTB_ADDBUTTON)>0 then
+ if ServiceExists(MS_TTB_ADDBUTTON) then
begin
ZeroMemory(@ttbopt,sizeof(ttbopt));
ttbopt.pszService:=QS_SHOWSERVICE;
|