summaryrefslogtreecommitdiff
path: root/plugins/Watrack/srv_player.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-28 19:36:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-28 19:36:10 +0000
commitf5e918645cdb34c5845f743291a8fe8bd56116e6 (patch)
treeb5d327fd0b9bda7aa1a6e724a8f9946e7f5312de /plugins/Watrack/srv_player.pas
parent072103b8a09df0d5bd2fd4a98ad84a9b2f1acbab (diff)
merge of those THandle fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@2549 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack/srv_player.pas')
-rw-r--r--plugins/Watrack/srv_player.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Watrack/srv_player.pas b/plugins/Watrack/srv_player.pas
index 60fd6534f4..69bac628fd 100644
--- a/plugins/Watrack/srv_player.pas
+++ b/plugins/Watrack/srv_player.pas
@@ -628,7 +628,7 @@ begin
begin
lwnd:=CheckTmpl(lwnd,plyLink^[i].Check,plyLink^[i].flags);
// find "Winamp" window
- if (lwnd<>dword(WAT_RES_NOTFOUND)) and (lwnd<>0) and
+ if (lwnd<>THANDLE(WAT_RES_NOTFOUND)) and (lwnd<>0) and
((plyLink^[i].flags and WAT_OPT_WINAMPAPI)<>0) then
begin
wwnd:=WinampFindWindow(lwnd);
@@ -641,11 +641,11 @@ begin
with plyLink^[i] do
begin
lwnd:=tCheckProc(Check)(lwnd,flags);
- if (lwnd<>dword(WAT_RES_NOTFOUND)) and (lwnd<>0) and (GetStatus<>nil) then
+ if (lwnd<>THANDLE(WAT_RES_NOTFOUND)) and (lwnd<>0) and (GetStatus<>nil) then
stat:=tStatusProc(GetStatus)(lwnd);
end;
end;
- if (lwnd<>dword(WAT_RES_NOTFOUND)) and (lwnd<>0) then
+ if (lwnd<>THANDLE(WAT_RES_NOTFOUND)) and (lwnd<>0) then
begin
if (stat=WAT_MES_PLAYING) or ((flags and WAT_OPT_CHECKALL)=0) then
begin