summaryrefslogtreecommitdiff
path: root/plugins/Watrack/players/pl_mpc.pas
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2015-01-28 06:34:10 +0000
committerAlexey Kulakov <panda75@bk.ru>2015-01-28 06:34:10 +0000
commit86dfe0c06437f79fd6f5bdfe34659339ef9cf525 (patch)
tree3509d18cf6fb2bc41688f4ea029260a14795d384 /plugins/Watrack/players/pl_mpc.pas
parent7690c901d9dd0e0992cdadebdeb817faa8358583 (diff)
Watrack:
VLC processing moved to INI-file MyShows fixes Code style fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@11936 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack/players/pl_mpc.pas')
-rw-r--r--plugins/Watrack/players/pl_mpc.pas8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Watrack/players/pl_mpc.pas b/plugins/Watrack/players/pl_mpc.pas
index bd0fade514..f5ac986c28 100644
--- a/plugins/Watrack/players/pl_mpc.pas
+++ b/plugins/Watrack/players/pl_mpc.pas
@@ -19,7 +19,7 @@ begin
result:=FindWindowEx(0,wnd,MPCClass98,NIL);
end;
-function chwnd(awnd:HWND;Param:pdword):boolean; stdcall;
+function chwnd(awnd:HWND;param:pdword):boolean; stdcall;
var
s:array [0..31] of AnsiChar;
i:integer;
@@ -29,14 +29,14 @@ begin
i:=StrIndex(PAnsiChar(@s),' / ');
if i<>0 then
begin
- if Param^=0 then
+ if param^=0 then
begin
s[i-1]:=#0;
- Param^:=TimeToInt(s);
+ param^:=TimeToInt(s);
end
else
begin
- Param^:=TimeToInt(s+i+2);
+ param^:=TimeToInt(s+i+2);
end;
result:=false;
end