summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch/sr_global.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickSearch/sr_global.pas')
-rw-r--r--plugins/QuickSearch/sr_global.pas4
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;