From de34b251b442cdf72b13c407d6b60c343c123bb3 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Thu, 16 Jan 2014 03:11:48 +0000 Subject: sync git-svn-id: http://svn.miranda-ng.org/main/trunk@7674 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/kolframe/frm_frame.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Watrack/kolframe/frm_frame.inc') diff --git a/plugins/Watrack/kolframe/frm_frame.inc b/plugins/Watrack/kolframe/frm_frame.inc index 8c3034327c..8911f868c4 100644 --- a/plugins/Watrack/kolframe/frm_frame.inc +++ b/plugins/Watrack/kolframe/frm_frame.inc @@ -63,7 +63,7 @@ begin if D.Trackbar<>nil then begin - if (CallService(MS_WAT_GETMUSICINFO,WAT_INF_CHANGES,dword(@psi))<>WAT_PLS_NOTFOUND) then + if (CallService(MS_WAT_GETMUSICINFO,WAT_INF_CHANGES,tlparam(@psi))<>WAT_PLS_NOTFOUND) then begin SetTrackBarPosition(D.Trackbar,(psi^.time*1000) div D.UpdInterval) end; @@ -265,7 +265,7 @@ begin if D.BkBitmap=0 then begin if (D.BkFile<>nil) and (D.BkFile^<>#0) then - D.BkBitmap:=CallService(MS_UTILS_LOADBITMAP,0,dword(D.BkFile)); + D.BkBitmap:=CallService(MS_UTILS_LOADBITMAP,0,tlparam(D.BkFile)); end; if D.BkBitmap<>0 then @@ -309,7 +309,7 @@ begin Exit; end; - result:=CallService(MS_UTILS_LOADBITMAP,0,dword(CoverFName)); + result:=CallService(MS_UTILS_LOADBITMAP,0,tlparam(CoverFName)); if result<>0 then begin mFreeMem(D.BkFile); @@ -325,7 +325,7 @@ begin begin if (not check) or (StrCmp(tmpstr,D.BkFile)<>0) then begin - result:=CallService(MS_UTILS_LOADBITMAP,0,dword(tmpstr)); + result:=CallService(MS_UTILS_LOADBITMAP,0,tlparam(tmpstr)); if result<>0 then begin mFreeMem(D.BkFile); @@ -412,7 +412,7 @@ begin RegisterButtonIcons; D.Trackbar:=MakeNewTrackbar(@self); // for case when TB creating after track start (fastest way) - // can use (CallService(MS_WAT_GETMUSICINFO,WAT_INF_CHANGES,dword(@psi))<>WAT_PLS_NOTFOUND) + // can use (CallService(MS_WAT_GETMUSICINFO,WAT_INF_CHANGES,tlparam(@psi))<>WAT_PLS_NOTFOUND) psi:=pointer(CallService(MS_WAT_RETURNGLOBAL,WAT_INF_UNICODE,1)); TrackbarSetRange(D.Trackbar,D.UpdInterval,psi^.total); end; -- cgit v1.2.3