summaryrefslogtreecommitdiff
path: root/plugins/Watrack/i_gui.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/i_gui.inc')
-rw-r--r--plugins/Watrack/i_gui.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Watrack/i_gui.inc b/plugins/Watrack/i_gui.inc
index 7c77ab6ad7..0128d7c566 100644
--- a/plugins/Watrack/i_gui.inc
+++ b/plugins/Watrack/i_gui.inc
@@ -50,7 +50,7 @@ begin
else
Menu_ModifyItem(hMenuDisable, 'Disable WATrack', IcoLib_GetIcon(IcoBtnEnable,0));
- if ServiceExists(MS_TTB_SETBUTTONSTATE)<>0 then
+ if ServiceExists(MS_TTB_SETBUTTONSTATE) then
begin
if f1<>0 then
begin
@@ -75,7 +75,7 @@ begin
Menu_ModifyItem(hMenuDisable, nil, IcoLib_GetIcon(IcoBtnEnable,0));
// toptoolbar
- if ServiceExists(MS_TTB_GETBUTTONOPTIONS)<>0 then
+ if ServiceExists(MS_TTB_GETBUTTONOPTIONS) then
begin
CallService(MS_TTB_GETBUTTONOPTIONS,(ttbState shl 16)+TTBO_ALLDATA,tlparam(@ttb));
ttb.hIconDn:=IcoLib_GetIcon(IcoBtnEnable,0);