summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/NoHistory/icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!NotAdopted/NoHistory/icons.cpp')
-rw-r--r--plugins/!NotAdopted/NoHistory/icons.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/!NotAdopted/NoHistory/icons.cpp b/plugins/!NotAdopted/NoHistory/icons.cpp
index 741ad3727e..b8fcddc70b 100644
--- a/plugins/!NotAdopted/NoHistory/icons.cpp
+++ b/plugins/!NotAdopted/NoHistory/icons.cpp
@@ -6,9 +6,9 @@ HICON hIconRemove, hIconKeep, hIconClear;
HANDLE hIcoLibIconsChanged = 0;
int ReloadIcons(WPARAM wParam, LPARAM lParam) {
- hIconRemove = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)MODULE "_remove");
- hIconKeep = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)MODULE "_keep");
- hIconClear = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)MODULE "_clear");
+ hIconRemove = Skin_GetIcon(MODULE "_remove");
+ hIconKeep = Skin_GetIcon(MODULE "_keep");
+ hIconClear = Skin_GetIcon(MODULE "_clear");
return 0;
}
@@ -26,7 +26,7 @@ void InitIcons() {
sid.pszDefaultFile = MODULE ".dll"; \
sid.hDefaultIcon = (HICON)LoadImage(hInst, MAKEINTRESOURCE(z), IMAGE_ICON, 0, 0, 0); \
CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid); \
- sid.iDefaultIndex++;
+ sid.iDefaultIndex++;
AddIcon("Disable", MODULE "_remove", IDI_HREMOVE);
AddIcon("Enable", MODULE "_keep", IDI_HKEEP);