summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/lastfm/lastfm.pas1
-rw-r--r--plugins/Watrack/myshows/myshows.pas1
-rw-r--r--plugins/Watrack/popup/popups.pas1
-rw-r--r--plugins/Watrack/proto/proto.pas1
-rw-r--r--plugins/Watrack/stat/statlog.pas1
-rw-r--r--plugins/Watrack/waticons.pas8
6 files changed, 2 insertions, 11 deletions
diff --git a/plugins/Watrack/lastfm/lastfm.pas b/plugins/Watrack/lastfm/lastfm.pas
index c5ccd796cc..677d7aa4c5 100644
--- a/plugins/Watrack/lastfm/lastfm.pas
+++ b/plugins/Watrack/lastfm/lastfm.pas
@@ -193,7 +193,6 @@ var
sid:TSKINICONDESC;
begin
FillChar(sid,SizeOf(TSKINICONDESC),0);
- sid.cbSize:=SizeOf(TSKINICONDESC);
sid.cx:=16;
sid.cy:=16;
sid.szSection.a:='WATrack';
diff --git a/plugins/Watrack/myshows/myshows.pas b/plugins/Watrack/myshows/myshows.pas
index f4fce5bc5a..ff9e2975a5 100644
--- a/plugins/Watrack/myshows/myshows.pas
+++ b/plugins/Watrack/myshows/myshows.pas
@@ -226,7 +226,6 @@ var
sid:TSKINICONDESC;
begin
FillChar(sid,SizeOf(TSKINICONDESC),0);
- sid.cbSize:=SizeOf(TSKINICONDESC);
sid.cx:=16;
sid.cy:=16;
sid.szSection.a:='WATrack';
diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas
index ec21e11f5d..eea51ae883 100644
--- a/plugins/Watrack/popup/popups.pas
+++ b/plugins/Watrack/popup/popups.pas
@@ -473,7 +473,6 @@ begin
ssmi:=CreateServiceFunction(MS_WAT_SHOWMUSICINFO,@OpenPopup);
FillChar(sid,SizeOf(TSKINICONDESC),0);
- sid.cbSize:=SizeOf(TSKINICONDESC);
sid.cx:=16;
sid.cy:=16;
sid.szSection.a:='WATrack';
diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas
index 4ee38f79b3..8da9d20b12 100644
--- a/plugins/Watrack/proto/proto.pas
+++ b/plugins/Watrack/proto/proto.pas
@@ -468,7 +468,6 @@ var
sid:TSKINICONDESC;
begin
FillChar(sid,SizeOf(TSKINICONDESC),0);
- sid.cbSize:=SizeOf(TSKINICONDESC);
sid.cx:=16;
sid.cy:=16;
sid.szSection.a:=PluginShort;
diff --git a/plugins/Watrack/stat/statlog.pas b/plugins/Watrack/stat/statlog.pas
index 50da1cc2ff..3d82b93223 100644
--- a/plugins/Watrack/stat/statlog.pas
+++ b/plugins/Watrack/stat/statlog.pas
@@ -588,7 +588,6 @@ begin
loadstat;
FillChar(sid,SizeOf(TSKINICONDESC),0);
- sid.cbSize:=SizeOf(TSKINICONDESC);
sid.cx:=16;
sid.cy:=16;
sid.szSection.a:='WATrack';
diff --git a/plugins/Watrack/waticons.pas b/plugins/Watrack/waticons.pas
index 396fdd887e..3de092b5c7 100644
--- a/plugins/Watrack/waticons.pas
+++ b/plugins/Watrack/waticons.pas
@@ -69,20 +69,17 @@ begin
hIconDLL:=hInstance;
FillChar(sid,SizeOf(TSKINICONDESC),0);
- sid.cbSize:=SizeOf(TSKINICONDESC);
sid.cx:=16;
sid.cy:=16;
sid.szSection.a:='WATrack';
- sid.hDefaultIcon :=LoadImage(hIconDLL,
- MAKEINTRESOURCE(IDI_PLUGIN_ENABLE),IMAGE_ICON,16,16,0);
+ sid.hDefaultIcon :=LoadImage(hIconDLL,MAKEINTRESOURCE(IDI_PLUGIN_ENABLE),IMAGE_ICON,16,16,0);
sid.pszName :=IcoBtnEnable;
sid.szDescription.a:='Plugin Enabled';
Skin_AddIcon(@sid);
DestroyIcon(sid.hDefaultIcon);
- sid.hDefaultIcon :=LoadImage(hIconDLL,
- MAKEINTRESOURCE(IDI_PLUGIN_DISABLE),IMAGE_ICON,16,16,0);
+ sid.hDefaultIcon :=LoadImage(hIconDLL,MAKEINTRESOURCE(IDI_PLUGIN_DISABLE),IMAGE_ICON,16,16,0);
sid.pszName :=IcoBtnDisable;
sid.szDescription.a:='Plugin Disabled';
Skin_AddIcon(@sid);
@@ -165,7 +162,6 @@ begin
FreeLibrary(hIconDLL);
FillChar(sid,SizeOf(sid),0);
sid.flags:=0;
- sid.cbSize:=SizeOf(TSKINICONDESC);
sid.cx:=16;
sid.cy:=16;