summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/lastfm/lastfm.pas6
-rw-r--r--plugins/Watrack/myshows/myshows.pas6
-rw-r--r--plugins/Watrack/popup/popups.pas2
-rw-r--r--plugins/Watrack/stat/statlog.pas2
4 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Watrack/lastfm/lastfm.pas b/plugins/Watrack/lastfm/lastfm.pas
index 7f2d90b0dd..1b7d3e0f3d 100644
--- a/plugins/Watrack/lastfm/lastfm.pas
+++ b/plugins/Watrack/lastfm/lastfm.pas
@@ -73,7 +73,7 @@ begin
if (lfm_login <>nil) and (lfm_login^ <>#0) and
(lfm_password<>nil) and (lfm_password^<>#0) then
- CloseHandle(mir_forkthread(@ThScrobble,nil));
+ mir_forkthread(@ThScrobble,nil);
end;
function NewPlStatus(wParam:WPARAM;lParam:LPARAM):int;cdecl;
@@ -116,7 +116,7 @@ begin
mi.flags :=CMIM_FLAGS+flag;
CallService(MS_CLIST_MODIFYMENUITEM,hMenuLast,tlparam(@mi));
end;
-
+
WAT_EVENT_PLAYERSTATUS: begin
case Integer(loword(lParam)) of
WAT_PLS_NOMUSIC,WAT_PLS_NOTFOUND: begin
@@ -200,7 +200,7 @@ begin
sid.szDescription.a:='LastFM';
Skin_AddIcon(@sid);
DestroyIcon(sid.hDefaultIcon);
-
+
FillChar(mi, sizeof(mi), 0);
mi.cbSize :=sizeof(mi);
mi.szPopupName.a:=PluginShort;
diff --git a/plugins/Watrack/myshows/myshows.pas b/plugins/Watrack/myshows/myshows.pas
index ce07ee0d68..0e6ff07da2 100644
--- a/plugins/Watrack/myshows/myshows.pas
+++ b/plugins/Watrack/myshows/myshows.pas
@@ -92,7 +92,7 @@ begin
if (msh_login <>nil) and (msh_login^ <>#0) and
(msh_password<>nil) and (msh_password^<>#0) then
- CloseHandle(mir_forkthread(@ThScrobble,nil));
+ mir_forkthread(@ThScrobble,nil);
end;
function NewPlStatus(wParam:WPARAM;lParam:LPARAM):int;cdecl;
@@ -145,7 +145,7 @@ begin
mi.flags :=CMIM_FLAGS+flag;
CallService(MS_CLIST_MODIFYMENUITEM,hMenuMyShows,tlParam(@mi));
end;
-
+
WAT_EVENT_PLAYERSTATUS: begin
case Integer(loword(lParam)) of
WAT_PLS_NOMUSIC,WAT_PLS_NOTFOUND: begin
@@ -233,7 +233,7 @@ begin
sid.szDescription.a:='MyShows';
Skin_AddIcon(@sid);
DestroyIcon(sid.hDefaultIcon);
-
+
FillChar(mi, sizeof(mi), 0);
mi.cbSize :=sizeof(mi);
mi.szPopupName.a:=PluginShort;
diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas
index 9ef22df2a7..8fe3f69ae1 100644
--- a/plugins/Watrack/popup/popups.pas
+++ b/plugins/Watrack/popup/popups.pas
@@ -289,7 +289,7 @@ end;
procedure ShowPopUp(si:pSongInfo);
begin
- CloseHandle(mir_forkthread(@ThShowPopup,si));
+ mir_forkthread(@ThShowPopup,si);
end;
// --------------- Services and Hooks ----------------
diff --git a/plugins/Watrack/stat/statlog.pas b/plugins/Watrack/stat/statlog.pas
index fa49bc5fb0..25ad6f1d6f 100644
--- a/plugins/Watrack/stat/statlog.pas
+++ b/plugins/Watrack/stat/statlog.pas
@@ -464,7 +464,7 @@ end;
function PackLog(wParam:WPARAM;lParam:LPARAM):integer;cdecl;
begin
result:=0;
- CloseHandle(mir_forkthread(@ThPackLog,nil));
+ mir_forkthread(@ThPackLog,nil);
end;
function MakeReport(wParam:WPARAM;lParam:LPARAM):integer;cdecl;